GetPlayerFacing

From Wowpedia
Jump to: navigation, search

Returns the direction the player character is currently facing.

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

External links