A constructor defined in bbmod_randomrotationmodule.gml

Extends BBMOD_ParticleModule

new BBMOD_RandomRotationModule([_axis[, _from[, _to]]])


A particle module that randomly sets particles' rotation on their spawn.


Name Type Description
_axis Struct.BBMOD_Vec3 The axis of rotation. Defaults to BBMOD_VEC3_UP.
_from Real The minimum angle of rotation. Defaults to 0.
_to Real The maximum angle of rotation. Defaults to 360.


Name Description
Axis The axis of rotation. Default value is BBMOD_VEC3_UP.
From The minimum angle of rotation. Default value is 0.
To The maximum angle of rotation. Default value is 360.

Inherited properties

Name Description
Enabled If true then the module is enabled. Defaults value is true.

Inherited methods

Name Description
on_finish Executed once at the end of the emitter's emission cycle. Never executed if the emitted particle system is looping!
on_particle_finish Executed when a particle dies.
on_particle_start Executed when a new particle is spawned.
on_start Executed at the beginning of the emitter's emission cycle and every time it loops.
on_update Executed every time the emitter is updated.

See also

BBMOD_EParticle.RotationW, BBMOD_EParticle.RotationX, BBMOD_EParticle.RotationY, BBMOD_EParticle.RotationZ

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.