GetAngleY - ObjectReference

Member of: ObjectReference Script

Gets this object's rotation around the y axis.

SyntaxEdit

float Function GetAngleY() native

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

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

NotesEdit

  • Actors, including the player, generally cannot rotate about the Y axis, and will therefore almost always return 0.

See AlsoEdit