Wikia

WoWWiki

API GetPlayerFacing

Talk0
100,547pages on
this wiki
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)

Advertisement | Your ad here

Around Wikia's network

Random Wiki