WoW API: GetPlayerFacing
Jump to navigation
Jump to search
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)