Difference between revisions of "GetAngleZ - ObjectReference"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
 
imported>Tania
Line 20: Line 20:
Debug.Trace("We are rotated " + GetAngleZ() + " degrees around the Z axis")
Debug.Trace("We are rotated " + GetAngleZ() + " degrees around the Z axis")
</source>
</source>
 
== Notes ==
* The range is 90 to -90
== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]

Revision as of 23:48, 3 April 2021

Member of: ObjectReference Script

Gets this object's rotation around the z axis.

Syntax

float Function GetAngleZ() native

Parameters

None.

Return Value

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

Examples

Debug.Trace("We are rotated " + GetAngleZ() + " degrees around the Z axis")

Notes

  • The range is 90 to -90

See Also