Rotate

From the Oblivion ConstructionSet Wiki
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.

See Also[edit | edit source]