Rotate

From the Oblivion ConstructionSet Wiki
Revision as of 15:09, 7 February 2006 by 10.0.1.94 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

Rotate axis, degrees/sec 

Example:

Rotate x, 100 


Rotates the object along the selected axis (x, y, or z) at the speed selected. This speed is in degrees per second. This movement is based on the object's local rotation. Thus, a positive y movement will rotate the object along its local forward vector.

NOTE: Because of the method used for rotation, this function is not reliable for complex rotations: rotating an object which has already been rotated may not work as you expect. The animation functions should be used for repetive or complex rotations, as they are both faster and more reliable.