This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| reset_camera [2017/05/02 15:03] – justin | reset_camera [2021/04/21 18:42] (current) – justin | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Instantly resets the camera to the default position/ | Instantly resets the camera to the default position/ | ||
| + | ====Signature: | ||
| <code python> | <code python> | ||
| reset_camera() | reset_camera() | ||
| Line 12: | Line 13: | ||
| ====Example: | ====Example: | ||
| - | < | + | < |
| - | reset_camera() | + | reset_camera(); |
| </ | </ | ||
| // | // | ||
| <WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
| - | Use the **Reset Camera** function after showing the player an event that has occurred elsewhere or upon the ending of a cutscene to reset back to the player. | + | Use the **Reset Camera** function after showing the player an event that has occurred elsewhere or upon the ending of a cutscene to reset the camera |
| </ | </ | ||