Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Look At resource positions a character towards a target. This resource is a type of Character Action.

Required Fields

...

View file
nameInvalid file id - 4e6ba3b6-ca8a-470a-8b7b-3285203825d5

Field Name

Description

Character

Specifies the character doing the looking.

Target

Specifies the scene object that the character looks at.

Note: If you leave this field blank the character will look at the learner.

...

*Training Tip: Character’s Body

If you leave the Target blank and have the character look at the learner, then as the leaner moves around in the scene the character’s gaze will follow. The character’s body will turn to follow unless you set the field to 0. We suggest setting the body to 0 or 0.1 and testing by moving around the scene as the character tracks you.

Events

Complete, Activate. Activate, Close (if you use a Hold Duration), Complete (if you use a Hold Duration)

Training Tip: Look At Events

If you leave the Target blank and have the character look at the learner, if the script closes the Look At Resource will stop. If you want it to continue, don’t close the script it is located in. On the flip side, if you want the Look At action to stop, and you don’t want to close the script, you can use a Deactivate Resource.

...

...

  • In the script where you will add the Look At Resource, add the character in as a Scene Object:

...

  • Next, after the asset is spawnedIn the next frame, I’ve added the Look At Resource

    • Character = Chad

    • Look At = (blank)

...