|
The syntax of the API command that has the actor
gaze at a certain direction is as follows:
CTPluginAPI.ActorGaze (Degree, Radius, Delay time, Duration Time);
-
ActorGaze:
This is the API command to have the actor
gaze in a given direction.
-
Degree: This value determines the direction the actor will be gazing
in degrees.
The number is from 0 to 360 in float type.
-
Radius: This value determines the distance for the actor to gaze in percentage.
-
Delay Time: This value is in float type to define the
time lag in seconds after the command is called. In this example, this value is always 0, which
makes the actor instantly gaze in the given direction after the
Play button is clicked.
-
Duration Time: This value is in float type to define
the length of time in seconds for the actor's gaze.
|