Difference between revisions of "Setting Local Rotation"
Jump to navigation
Jump to search
m
forgot to add to solutions category
imported>Fg109 (new solution (rotation about local axes)) |
imported>Fg109 m (forgot to add to solutions category) |
||
Line 1: | Line 1: | ||
[[Category:Solutions]] | |||
The [[SetAngle_-_ObjectReference|SetAngle]] function rotates an object according to the global axes, not the local axes of an object. This means that if you were to script the movement of a ship, for example, you would be unable to account for pitch and roll (rotation about the x and y axes). | The [[SetAngle_-_ObjectReference|SetAngle]] function rotates an object according to the global axes, not the local axes of an object. This means that if you were to script the movement of a ship, for example, you would be unable to account for pitch and roll (rotation about the x and y axes). | ||