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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
reset_camera_at_speed [2017/05/02 16:25] justinreset_camera_at_speed [2020/05/15 09:55] justin
Line 2: Line 2:
 ---- ----
  
-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 [[voxel|voxels]]/second) then returns control of the camera to the player.
  
 +====Signature:====
 <code python> <code python>
 reset_camera_at_speed(speed) reset_camera_at_speed(speed)
Line 9: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|speed|Speed at which to reset the camera (in voxels/second).|[[Decimal]]|Yes|+|speed|Speed at which to reset the camera (in [[voxel|voxels]]/second).|[[Number]]|Yes|
  
 ====Example:==== ====Example:====
-<code python>+<code bauxite>
 reset_camera_at_speed(120) reset_camera_at_speed(120)
 </code> </code>
Line 18: Line 19:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-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.+Use the **Reset Camera At Speed** 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