Spin

Summary

The Spin effect continually rotates an object.

This is usually used on moving equipment to replicate real world spin on machines such as cutters, drives, fans and agitators.

This effect often uses the appliesto and enabled properties.

Parameters

Speed

Type: Float Bindable Default: 5

The speed of the rotation, in degrees-per-second.

Axis

Type: Vector3 Default: 0,1,0

The axis on which to rotate. You may choose more than one, but usually this function is used to rotate on only a single axis.

Invert

Type: Boolean Bindable Default: 0

Reverses the direction of rotation.

Examples

<spin speed="5" enabled="[Running|1]"/>
Spins the asset at 5 degrees per second when its running.
<spin speed="[Speed:%:0:20]" appliesto="blades"/>
Spins the blades of the fan at a rate relative to the 'speed' property - 20 degrees a second at full speed, or still when at zero speed.