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
move_camera [2017/04/18 21:34] justinmove_camera [2021/04/21 18:35] (current) justin
Line 2: Line 2:
 ---- ----
  
-Instantly moves the camera to the specified (X,Y,Z) [[coordinate]] or named [[camera position]]. A target to aim the camera towards can optionally be specified. If using a [[camera position]] for the destination, this "look at target" will override the angle.+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 17: Line 18:
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-move_camera("Inside House", entity["Cat"])+move_camera("Inside House", entity["Cat"]);
 </code> </code>
 //Results:// The camera instantly moves to the location defined by the "Inside House" camera position and is aimed towards the "Cat" character. //Results:// The camera instantly moves to the location defined by the "Inside House" camera position and is aimed towards the "Cat" character.
move_camera.1492576466.txt.gz · Last modified: 2017/04/18 21:34 by justin