User Tools

Site Tools


look_at_target_over_time

This is an old revision of the document!


Look At Target Over Time


Rotates the camera over a duration of time (in seconds) to point towards the specified entity or coordinate.

look_at_target_over_time(target, duration)
ArgumentDescriptionTypeRequired
targetTarget to aim the camera towards.Entity or CoordinateYes
durationDuration of the rotation (in seconds).DecimalYes

Example:

look_at_target_over_time(entity["chest01"], 1)

Results: The camera's angle is adjusted to aim towards the entity with an ID of “chest01” over a duration of one second.

Use the Look At Target Over Time function to focus on certain characters/events during a cutscene or to indicate to the player that something in the scene has changed.


Editor Node:

Visual Demo:

look_at_target_over_time.1492397091.txt.gz · Last modified: 2017/04/16 19:44 by justin