Fandom

WoWWiki

API GetPlayerFacing

104,637pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetPlayerFacing

Returns the player's orientation (heading). Indicates the direction the player model is (normally) facing and in which the player will move if he begins walking forward, not the camera orientation.

Signature Edit

facing = GetPlayerFacing()

Arguments Edit

none

Returns Edit

facing - Direction the player is facing (in radians, 0 = north, values increasing counterclockwise) (number)

Also on Fandom

Random Wiki