Difference between revisions of "GetAngle"
Jump to navigation
Jump to search
imported>Aaaas |
imported>Ashileedo m (Reverted edit of Aaaas, changed back to last version by JDGBOLT) |
||
Line 15: | Line 15: | ||
[[Category: Movement Functions]] | [[Category: Movement Functions]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
Revision as of 16:23, 2 May 2006
Syntax:
GetAngle axis
Example:
GetAngle Z
Returns the current world rotation angle of the object on the selected axis (X, Y, or Z) in float.
Special Note:
When called upon the player character, Z angle is the player's current heading, X angle is the player's current vertical angle.