Difference between revisions of "GetAngleX - ObjectReference"
Jump to navigation
Jump to search
imported>Dragoonwraith (→Notes: Actors don't rotate about the X) |
imported>Dragoonwraith (→See Also: adding GetAngle) |
||
Line 26: | Line 26: | ||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | |||
*[[GetAngleY - ObjectReference]] | * [[ObjectReference Script]] | ||
*[[GetAngleZ - ObjectReference]] | * [[GetAngleY - ObjectReference]] | ||
*[[GetHeadingAngle - ObjectReference]] | * [[GetAngleZ - ObjectReference]] | ||
*[[SetAngle - ObjectReference]] | * [[GetHeadingAngle - ObjectReference]] | ||
* [[SetAngle - ObjectReference]] | |||
* [[GetAngle]] Console Function |
Revision as of 11:57, 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.