Difference between revisions of "GetAngleZ - ObjectReference"
Jump to navigation
Jump to search
imported>Plplecuyer m (GetAnglyZ - ObjectReference moved to GetAngleZ - ObjectReference: Typo fix) |
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