User Tools

Site Tools


rotate_player_to_direction

This is an old revision of the document!


Rotate Player To Direction


Rotates the player to face towards the specified cardinal direction (i.e. north, south, west, or east).

rotate_player_to_direction(NORTH)
ArgumentDescriptionTypeRequired
directionDescription.ConstantYes

Lock/Unlock Player Movement must be called before using this function to prevent the player from interfering with the scripted movement.

Example:

rotate_player_to_direction(NORTH)

Results:

Use the Rotate Player To Direction function to …


Editor Node:

Visual Demo:

rotate_player_to_direction.1494284612.txt.gz · Last modified: 2017/05/08 16:03 by justin