BBMOD_AttractorModule

Extends BBMOD_ParticleModule

constructor

new BBMOD_AttractorModule([_position[, _relative[, _radius[, _force]]]])

Description

A particle module that attracts/repels particles to/from a given position.

Arguments

Name Type Description
_position Struct.BBMOD_Vec3 The position to attract/repel particles to/from. Defaults to (0, 0, 0).
_relative Bool If true, then the position is relative to the emitter. Defaults to true.
_radius Real The radius of the influence. Defaults to 1.0.
_force Real The strength of the force. Use negative to repel the particles. Defaults to 1.0.

Properties

Name Description
Force The strength of the force. Use negative to repel the particles. Defaults value is 1.0.
Position The position to attract/repel particles to/from. Default value is (0, 0, 0).
Radius The radius of the influence. Defaults to 1.0.
Relative If true, then BBMOD_AttractorModule.Position is relative to the emitter. Default value is true.
Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on July 23, 2022 using GMDoc.