Skip to reading
The Cutscene Designer

24. Turn actors toward each other

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations
Code example
{
  "type":"FaceCharacter",
  "characterId":"player",
  "targetCharacterId":"elias"
}

Place Ivo’s facing event at 4.2 seconds and an opposite event for Elias at 4.3. For Elias, set characterId to elias and targetCharacterId to player.

Figure 13. Facing is a separate action from walking. The character and target IDs must refer to the intended people.

Source table from 24. Turn actors toward each other, page 28
ActionTarget
FaceCharacterAnother character.
FaceObjectAn object in the room.
FaceCoordinatesAn explicit XYZ point.

Use FaceCoordinates for a mark with no visible object, such as a sound coming from a doorway. If the model faces backward despite a sensible target, inspect the character’s model-facing offset rather than reversing every event by guesswork.

Keep the walking route and facing moment separate while learning. A facing action dispatched before movement ends can be followed by the actor turning again to continue walking.

0.86.4.3 / Preview, cue timing and hooks > Page 74

Page 28 of 78Permalink
Go to page