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/sec).DecimalYes

Example:

reset_camera_at_speed(120)

Results:

Use the Reset Camera At Speed function 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: 2018/03/16 09:47 by justin