WoW API: GetPlayerFacing

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetPlayerFacing to API GetPlayerFacing without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

facing = GetPlayerFacing()

Arguments

none

Returns

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