GetAngleX - ObjectReference

From the CreationKit Wiki
Revision as of 11:57, 23 January 2012 by imported>Dragoonwraith (→‎See Also: adding GetAngle)
Jump to navigation Jump to search

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