User Tools

Site Tools


reset_camera_over_time

This is an old revision of the document!


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.

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