GetAngleX - ObjectReference

Revision as of 12:57, 23 January 2012 by imported>Dragoonwraith (→‎See Also: adding GetAngle)

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.

See Also