Next: , Previous: , Up: Motion   [Contents][Index]


12.20 Spin Motor

Component: SpinMotor

This component, similar to ConstantForce component, adds a constant spin or torque instead. Rigidbody use is optional. To use, add to any object that you would like to spin, and either set the rotation speed/force above in the ’Impetus’ setting, or send messages to set the spin at runtime.

Available Messages

Message on SpinMotor: SpinImpetusX (float)

Changes the impetus on the X axis.

Argument: The new rotational impetus

Message on SpinMotor: SpinImpetusY (float)

Changes the impetus on the Y axis.

Argument: The new rotational impetus

Message on SpinMotor: SpinImpetusZ (float)

Changes the impetus on the Z axis.

Argument: The new rotational impetus

Available Messages

Message on SpinMotor: SpinImpetusX (float)

Changes the impetus on the X axis.

Argument: The new rotational impetus

Message on SpinMotor: SpinImpetusY (float)

Changes the impetus on the Y axis.

Argument: The new rotational impetus

Message on SpinMotor: SpinImpetusZ (float)

Changes the impetus on the Z axis.

Argument: The new rotational impetus