User Tools

Site Tools


look_at_target_over_time

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
look_at_target_over_time [2017/05/05 16:05]
justin
look_at_target_over_time [2021/04/21 18:35] (current)
justin
Line 4: Line 4:
 Rotates the camera over a duration of time (in seconds) to point towards the specified entity or coordinate. Rotates the camera over a duration of time (in seconds) to point towards the specified entity or coordinate.
  
 +====Signature:====
 <code python> <code python>
 look_at_target_over_time(target, duration) look_at_target_over_time(target, duration)
Line 17: Line 18:
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-look_at_target_over_time(entity["chest01"], 1)+look_at_target_over_time(entity["chest01"], 1);
 </code> </code>
 //Results:// The camera's angle is adjusted to aim towards the entity with an ID of “chest01” over a duration of one second. //Results:// The camera's angle is adjusted to aim towards the entity with an ID of “chest01” over a duration of one second.
look_at_target_over_time.1494025525.txt.gz · Last modified: 2017/05/05 16:05 by justin