Skip to content

VfxPhysicsRotationModifier

15.22

Class Documentation

Edit documentation

A physics modifier that sets the particles' rotation. Each particle keeps a rotation as Euler angles in degrees. On each step, before the integration, the client builds the particle's orientation from these angles and replaces the orientation it had. The position is not changed.

The angles come from one of two modes:

  • Spin (UseKeyedRotation clear): the angles start at InitialRotation and grow by InitialRotationalVelocity * KeyedRotationalVelocity * dt on every step.
  • Keyed (UseKeyedRotation set): the angles start at InitialRotation and are set to KeyedRotation on every step.

Properties

0x1fd12444

Flag = false
Removed in 15.24 15.23
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

0xc3623f1c

Embed<ValueVector3> = { "constantValue": [0, 0, 0], "dynamics": null }
Removed in 15.23
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

0xc50805b8

Flag = false
Removed in 15.24 15.23
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

KeyedRotation

Embed<VfxVector3DynamicProperty> = { "Vector3": null }
16.20
Edit documentation

Absolute Euler angles, in degrees, evaluated on every step when UseKeyedRotation is set. A curve over the particle's age here animates the rotation directly.

UseKeyedRotation

Flag = false
16.20
Edit documentation

Switches from the spin mode to the keyed mode. See the class description.

WorldSpaceRotation

Flag = false
15.23
Edit documentation

Treats the rotation values as world rotations: they keep their world meaning whatever the rotation of the particle's reference frame.

isDirectionOriented

Flag = false
Removed in 15.24 15.23
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

rotation

Embed<ValueVector3> = { "constantValue": [0, 0, 0], "dynamics": null }
Removed in 15.23
Add documentation

No documentation available yet. Click "Add documentation" to contribute!