Wikia

WoWWiki

API GetPlayerFacing

Talk0
98,586pages on
this wiki
Revision as of 19:35, May 4, 2010 by Dador (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

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)

Advertisement | Your ad here

Photos

Add a Photo
62,228photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki