User Tools

Site Tools


reset_camera_over_time

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
reset_camera_over_time [2017/05/02 16:17] justinreset_camera_over_time [2017/05/02 16:24] justin
Line 5: Line 5:
  
 <code python> <code python>
-reset_camera_over_time(1)+reset_camera_over_time(duration)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|1|Description.|[[String]]|Yes|+|duration|Duration of the reset (in seconds).|[[Decimal]]|Yes|
  
 ====Example:==== ====Example:====
 <code python> <code python>
-reset_camera_over_time(1)+reset_camera_over_time(0.5)
 </code> </code>
-//Results://+//Results:// The camera returns to the default position and rotation over a duration of 0.5 seconds and is no longer locked.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Reset Camera Over Time** function to ...+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.
 </WRAP> </WRAP>
  
reset_camera_over_time.txt · Last modified: 2021/04/21 18:43 by justin