Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns the direction the character is facing in radians.

facing = GetPlayerFacing()

Returns[]

facing
number - Direction the player is facing in radians, in the [0, 2π] range, where 0 is North and values increase counterclockwise.

Details[]

  • 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.

Patch changes[]

Legion Patch 7.1.0 (2016-10-25): Returns nil while in a restricted area (instance/battleground/arena).
Wrath-Logo-Small Patch 3.1.0 (2009-04-14): Added.

Advertisement