User Tools

Site Tools


Set Vision Height

Changes the vision height (in voxel) of the specified character. This value determines the camera placement (i.e. the height above the tile on which the player is standing) while in first-person view. Vision height is also used when adjusting the camera to “look at” a particular character.


set_vision_height(character, height)
characterCharacter for which to update the vision height.EntityYes
heightHeight of the character's vision (in voxels).DecimalYes


set_vision_height(player, 6)

Results: The player's vision height is changed to a height of 6 voxels.

Use the Set Vision Height function to give the appearance of the player growing older over time or to create the illusion that the player has shrunk after drinking a potion.

Editor Node:

Visual Demo:

set_vision_height.txt · Last modified: 2018/03/16 09:49 by justin