GetAngleX - ObjectReference
Revision as of 11:56, 23 January 2012 by imported>Dragoonwraith (→Notes: Actors don't rotate about the X)
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.