— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
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)
Argument | Description | Type | Required |
---|---|---|---|
duration | Duration of the reset (in seconds). | Number | Yes |
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.