GetAngleX - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Gets this object's rotation around the x axis.

Syntax[edit | edit source]

float Function GetAngleX() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

This object's rotation around the x axis, in degrees.

Examples[edit | edit source]

Debug.Trace("We are rotated " + GetAngleX() + " degrees around the X axis")

Notes[edit | edit source]

  • The range for actors is 90° to -90°.

See Also[edit | edit source]