WoW:API GetPlayerFacing: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with '{{wowapi}} __NOTOC__ 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 walk…')
 
m (Move page script moved page API GetPlayerFacing to API GetPlayerFacing without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

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)