Difference between revisions of "GetAngleY - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Chesko
(Added note from GetAngleX page, because it actually applies to the Y axis instead. Everything in the Notes should be sorted out now.)
 
(4 intermediate revisions by 2 users not shown)
Line 20: Line 20:
Debug.Trace("We are rotated " + GetAngleY() + " degrees around the Y axis")
Debug.Trace("We are rotated " + GetAngleY() + " degrees around the Y axis")
</source>
</source>
== Notes ==
* Actors, including the player, generally cannot rotate about the Y axis, and will therefore almost always return 0.


== See Also ==
== See Also ==
*[[ObjectReference Script]]
 
*[[GetAngleX - ObjectReference]]
* [[ObjectReference Script]]
*[[GetAngleZ - ObjectReference]]
* [[GetAngleX - ObjectReference]]
*[[GetHeadingAngle - ObjectReference]]
* [[GetAngleZ - ObjectReference]]
*[[SetAngle - ObjectReference]]
* [[GetHeadingAngle - ObjectReference]]
* [[SetAngle - ObjectReference]]
* [[GetAngle]] Console Function

Latest revision as of 10:56, 8 September 2012

Member of: ObjectReference Script

Gets this object's rotation around the y axis.

Syntax[edit | edit source]

float Function GetAngleY() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

Notes[edit | edit source]

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

See Also[edit | edit source]