This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
move_camera [2017/04/18 21:27] – justin | move_camera [2021/04/21 18:35] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Instantly moves the camera to the specified (X,Y,Z) [[coordinate]] or pre-defined | + | Instantly moves the camera to the specified (X,Y,Z) [[coordinate]] or named [[camera_positions|camera position]]. A target to aim the camera towards can optionally |
+ | ====Signature: | ||
<code python> | <code python> | ||
move_camera(destination, | move_camera(destination, | ||
Line 10: | Line 11: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|destination|Destination coordinate or camera position.|[[Coordinate]] or [[String]]|Yes| | |destination|Destination coordinate or camera position.|[[Coordinate]] or [[String]]|Yes| | ||
- | |look_at_target|Description.|[[Coordinate]] or [[Entity]]|No| | + | |look_at_target|Coordinate or entity to aim the camera towards.|[[Coordinate]] or [[Entity]]|No| |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 17: | Line 18: | ||
====Example: | ====Example: | ||
- | < | + | < |
- | move_camera(" | + | move_camera(" |
</ | </ | ||
// | // |