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
Last revisionBoth sides next revision
lock_camera [2017/04/12 17:01] justinlock_camera [2018/03/16 09:45] justin
Line 4: Line 4:
 Locks the camera controls and stops the camera from following the player. The camera will only be affected by scripts until it is unlocked using one of the "Reset Camera" functions. Locks the camera controls and stops the camera from following the player. The camera will only be affected by scripts until it is unlocked using one of the "Reset Camera" functions.
  
 +====Signature:====
 <code python> <code python>
 lock_camera() lock_camera()
Line 10: Line 11:
 ^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 31: Line 36:
 <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