User Tools

Site Tools


reset_camera

Reset Camera


Instantly resets the camera to the default position/rotation and returns control of the camera to the player.

Signature:

reset_camera()
ArgumentDescriptionTypeRequired
(No arguments for this function)

Example:

reset_camera()

Results: The camera immediately returns to the default position and rotation and is no longer locked.

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