User Tools

Site Tools


reset_camera_over_time

Reset Camera Over Time


Resets the camera to the default position/rotation over the specified duration (in seconds) then returns control of the camera to the player.

Signature:

reset_camera_over_time(duration)
ArgumentDescriptionTypeRequired
durationDuration of the reset (in seconds).DecimalYes

Example:

reset_camera_over_time(0.5)

Results: The camera returns to the default position and rotation over a duration of 0.5 seconds and is no longer locked.

Use the Reset Camera Over Time 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_over_time.txt · Last modified: 2018/03/16 09:47 by justin