User Tools

Site Tools


reset_camera_at_speed

This is an old revision of the document!


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.

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.1493767622.txt.gz · Last modified: 2017/05/02 16:27 by justin