User Tools

Site Tools


reset_camera_at_speed

Reset Camera At Speed


Resets the camera to the default position/rotation at the specified speed (in voxels/second) then returns control of the camera to the player.

Signature:

reset_camera_at_speed(speed)
ArgumentDescriptionTypeRequired
speedSpeed at which to reset the camera (in voxels/second).NumberYes

Example:

reset_camera_at_speed(120);

Results:

Use the Reset Camera At Speed function after showing the player an event that has occurred elsewhere or upon the ending of a cutscene to reset the camera back to the player.


Editor Node:

Visual Demo:

reset_camera_at_speed.txt · Last modified: 2021/04/21 18:42 by justin