This page describes how to set up the Dialogue System with FImpossible Games' Look Animator. (Look Animator is required.)
Look Animator copyright © FImpossible Games.
This component controls a character's Look Animator. It keeps a list of other Look Animator Dialogue Actors that have entered its trigger collider. When the character is one of the two primary conversation participants and is speaking a line, it makes the other characters look at it, while it looks at the character who is marked as the dialogue entry's listener.
Syntax:
LookAnimator( target, subject|[all] )
This sequencer command subject(s) look at a target. If the target is a Look Animator Dialogue Actor, the subjects will look at the target's My Look Target transform. Otherwise the subjects will look at the target's transform. If the target is none
, it will return to its original follow target.
For the subject, you can specify speaker
, listener
, the name of a GameObject – or all
if you are in a conversation. If you specify all
, the current speaker will tell all of its listeners to look at the target.