This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rotate_player_to_direction [2017/06/20 15:02] – justin | rotate_player_to_direction [2018/03/16 09:47] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Rotates the player to face towards the specified cardinal direction (i.e. north, south, west, or east). This function will only have an effect while in first-person view. | Rotates the player to face towards the specified cardinal direction (i.e. north, south, west, or east). This function will only have an effect while in first-person view. | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
rotate_player_to_direction(direction) | rotate_player_to_direction(direction) |