BBMOD_RandomRotationModule

Extends BBMOD_ParticleModule

constructor

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

Description

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

Arguments

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.

Properties

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.

See also

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

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.