GetAngleZ - ObjectReference

Revision as of 00:48, 4 April 2021 by imported>Tania

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