User Tools

Site Tools


lock_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
Next revisionBoth sides next revision
lock_camera [2017/04/12 16:50] justinlock_camera [2017/05/05 16:06] justin
Line 10: Line 10:
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
 |  (No arguments for this function)  |||| |  (No arguments for this function)  ||||
 +
 +<WRAP center round info 100%>
 +This function must be called to put the camera into a locked state before using any of the camera movement functions: [[Move Camera]], [[Move Camera At Speed]], [[Move Camera Over Time]], [[Look At Target]], [[Look At Target Over Time]], [[Rotate Camera]], and [[Rotate Camera Over Time]].
 +</WRAP>
  
 ====Example:==== ====Example:====
Line 15: Line 19:
 lock_camera() lock_camera()
 </code> </code>
-//Results:// The camera is locked into its current position within the scene and the player's movements no longer affects the camera until it has been reset. Zooming and rotating of the camera are also disabled.+//Results:// The camera is locked into its current position within the scene and the player's movements no longer affect the camera until it has been reset. Zooming and rotating of the camera are also disabled.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Lock Camera** function to ...+Use the **Lock Camera** function to force a static view of the current map or to freeze the camera in place for the duration of a cutscene.
 </WRAP> </WRAP>
  
Line 31: Line 35:
 <WRAP half column> <WRAP half column>
 ====Visual Demo:==== ====Visual Demo:====
-{{:wiki:load_map_demo.gif?nolink|}}+{{:wiki:lock_camera_demo.gif?nolink|}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
lock_camera.txt · Last modified: 2021/04/21 18:33 by justin