Expression Library

Spin

Author: Chris Wright

Rotates an object at a constant velocity without keyframing.

Code Sample

Hover over the code and click the copy button.

				
					veloc = 360; //rotational velocity (degrees per second)
r = rotation + (time - inPoint) *veloc;
[r]