User Tools

Site Tools


set_player_movement_locked

This is an old revision of the document!


Lock/Unlock Player Movement


Locks or unlocks the player's ability to walk around. This also affects strafing and turning in first-person view.

set_player_movement_locked(is_locked)
ArgumentDescriptionTypeRequired
is_lockedState of player movement.BooleanYes

Example:

set_player_movement_locked(true)

Results: The player is no longer able to move around the scene until their movement is unlocked.

Use the Lock/Unlock Player Movement function to …


Editor Node:

set_player_movement_locked.1492207372.txt.gz · Last modified: 2017/04/14 15:02 by justin