User Tools

Site Tools


Set Movement Speed

Changes the movement speed (in voxels per second) of the specified character.


set_movement_speed(character, speed)
characterCharacter for which to update the movement speed.EntityYes
speedNew movement speed (in voxels per second).NumberYes

Set Animation Speed would typically be used along with this function to simultaneously speed up or slow down both the character's walk animation and walking speed.


set_movement_speed(player, 60);

Results: The player's movement speed is changed to 60 voxels per second.

Use the Set Movement Speed function to increase the player's speed as part of progressing through the story or to provide a temporary speed boost to a character.

Editor Node:

Visual Demo:

set_movement_speed.txt · Last modified: 2021/04/21 18:52 by justin