User Tools

Site Tools


reset_camera_at_speed

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
reset_camera_at_speed [2017/05/02 14:11] – external edit 127.0.0.1reset_camera_at_speed [2018/03/16 09:47] justin
Line 4: Line 4:
 Resets the camera to the default position/rotation at the specified speed (in voxels/second) then returns control of the camera to the player. Resets the camera to the default position/rotation at the specified speed (in voxels/second) then returns control of the camera to the player.
  
 +====Signature:====
 <code python> <code python>
-reset_camera_at_speed(120)+reset_camera_at_speed(speed)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|120|Description.|[[String]]|Yes|+|speed|Speed at which to reset the camera (in voxels/sec).|[[Decimal]]|Yes|
  
 ====Example:==== ====Example:====
Line 18: Line 19:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Reset Camera At Speed** function to ...+Use the **Reset Camera At Speed** function 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_at_speed.txt · Last modified: 2021/04/21 18:42 by justin