User Tools

Site Tools


move_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
move_camera [2017/04/18 21:26] justinmove_camera [2018/03/16 09:46] justin
Line 2: Line 2:
 ---- ----
  
-Instantly moves the camera to the specified (X,Y,Z) [[coordinate]] or pre-defined [[camera position]] by name. A target to aim the camera towards can be optionally specified.+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 be specified. If using a [[camera_positions|camera position]] for the destination, this "look at target" will override the angle.
  
 +====Signature:====
 <code python> <code python>
 move_camera(destination, look_at_target) move_camera(destination, look_at_target)
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%>
move_camera.txt · Last modified: 2021/04/21 18:35 by justin