User Tools

Site Tools


reset_camera

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reset_camera [2017/05/02 15:03] justinreset_camera [2021/04/21 18:42] (current) justin
Line 4: Line 4:
 Instantly resets the camera to the default position/rotation and returns control of the camera to the player. Instantly resets the camera to the default position/rotation and returns control of the camera to the player.
  
 +====Signature:====
 <code python> <code python>
 reset_camera() reset_camera()
Line 12: Line 13:
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-reset_camera()+reset_camera();
 </code> </code>
 //Results:// The camera immediately returns to the default position and rotation and is no longer locked. //Results:// The camera immediately returns to the default position and rotation and is no longer locked.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Reset Camera** function after showing the player an event that has occurred elsewhere or upon the ending of a cutscene to reset back to the player.+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.
 </WRAP> </WRAP>
  
reset_camera.1493762587.txt.gz · Last modified: 2017/05/02 15:03 by justin