User Tools

Site Tools


reset_camera

Differences

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

Link to this comparison view

Next revision
Previous revision
reset_camera [2017/05/02 14:11] – external edit 127.0.0.1reset_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 9: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
 +|  (No arguments for this function)  ||||
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-reset_camera()+reset_camera();
 </code> </code>
-//Results://+//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 to ...+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.1493759510.txt.gz · Last modified: 2017/05/02 14:11 by 127.0.0.1