Extends BBMOD_ParticleModule
constructor
new BBMOD_AttractorModule([_position[, _relative[, _radius[, _force]]]])
A particle module that attracts/repels particles to/from a given position.
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. |
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 . |
Copyright © 2022, BlueBurn. Built on December 31, 2022 using GMDoc.