GetAngleY - ObjectReference

Revision as of 11:51, 8 September 2012 by imported>Chesko (On further inspection I discovered that it is not the Y angle value that corresponds to this note, and the portion about the angle being locked to -89 to 89 is wrong. Deleting note, will add correct note with correct axis information shortly.)

Member of: ObjectReference Script

Gets this object's rotation around the y axis.

Syntax

float Function GetAngleY() native

Parameters

None.

Return Value

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

Examples

Debug.Trace("We are rotated " + GetAngleY() + " degrees around the Y axis")

Notes

See Also