Difference between revisions of "GetAngleX - ObjectReference"
Jump to navigation
Jump to search
imported>Jlundin |
imported>Dragoonwraith (→Notes: Actors don't rotate about the X) |
||
Line 20: | Line 20: | ||
Debug.Trace("We are rotated " + GetAngleX() + " degrees around the X axis") | Debug.Trace("We are rotated " + GetAngleX() + " degrees around the X axis") | ||
</source> | </source> | ||
== Notes == | |||
* Actors, including the player, generally cannot rotate about the X axis, and will therefore almost always return 0. | |||
== See Also == | == See Also == |
Revision as of 11:56, 23 January 2012
Member of: ObjectReference Script
Gets this object's rotation around the x axis.
Syntax
float Function GetAngleX() native
Parameters
None.
Return Value
This object's rotation around the x axis, in degrees.
Examples
Debug.Trace("We are rotated " + GetAngleX() + " degrees around the X axis")
Notes
- Actors, including the player, generally cannot rotate about the X axis, and will therefore almost always return 0.