This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
lock_camera [2017/04/15 19:54] – justin | lock_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" | 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" | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
lock_camera() | lock_camera() | ||
Line 12: | Line 13: | ||
<WRAP center round info 100%> | <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]], [[move_camera_at_speed|Move Camera At Speed]], [[move_camera_over_time|Move Camera Over Time]], [[Look At Target]], | + | 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 |
</ | </ | ||