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: 2021/04/21 18:42 by justin