Emotions
An 8-axis emotional state that changes as you talk.
Most conversational characters have one facial expression: pleasant. IAMX gives every character an emotional state built from eight independent axes. It follows the conversation, shifts after each message and then shapes what you see and hear: the face, the tone of voice and the wording of the reply. Compliment the character and its expression warms; insult it and the warmth drains away while its voice cools. Nothing is scripted — the mood is read from the dialogue as it happens.
This page explains the eight axes, how the state evolves, how to set it up in IAMX Studio and how to read and steer it from Unreal Blueprint.
The eight axes
The state is not a single "happy ↔ sad" slider. It tracks the eight primary emotions of Plutchik's wheel at once, each with its own score from 0 to 1. A character can be joyful and a little afraid, or trusting and surprised, at the same time.
Joy
Warmth, delight, contentment.
Trust
Comfort and rapport with the person it is talking to.
Fear
Wariness or a sense of threat.
Surprise
The reaction to the unexpected.
Sadness
Disappointment, loss, low energy.
Disgust
Distaste or rejection.
Anger
Frustration and hostility.
Anticipation
Interest and forward-looking attention.
The pairs are complementary — joy against sadness, trust against disgust, fear against anger, surprise against anticipation — so the blend can express mixed feelings rather than flipping between a handful of fixed presets.
| Axis | Tends to rise when the character… |
|---|---|
| Joy | is praised, succeeds, connects |
| Trust | feels safe and understood |
| Fear | senses threat or pressure |
| Surprise | hits the unexpected |
| Sadness | is let down or hears bad news |
| Disgust | is offended or repelled |
| Anger | is insulted or blocked |
| Anticipation | is curious and engaged |
Set it up in IAMX Studio
Open the character and choose Behavior › Emotion.
- Set the starting mood. The Plutchik Emotion Wheel has a slider (0–100) per axis. This is the mood the character has when it meets a new visitor; a warm receptionist might start with Joy and Trust raised.
- Choose how fast moods fade. Decay Rate (decay/sec) runs from 0.0000 to 0.0500. The default 0.0050 approaches neutral in about 3 minutes; 0.0200 drops in about 45 seconds, which suits a kiosk with many short visits; 0.0000 never fades.
- Decide whether conversation moves the mood. With Classifier Enabled (the default) every visitor message shifts the state. Turn it off and the wheel stays fixed, so the character's tone stays the same.
- Set how smoothly the face changes. Transition Smoothing (ms), 100–5000 ms (default 1500), is how long the face takes to move from the old mood to the new one, in Unreal and in the browser.
- Save, then open Test conversation and try it.
Two more settings are in Identity & model › Model settings: Emotion → Face Morph Intensity scales how strongly the mood shows on the face (default ×0.70, from ×0 to ×2), and UE Plugin Settings › Face Morph Driver lets the Unreal component write the mood to the face mesh itself. To see the mood text the AI receives, open Mind & knowledge › Mindview and check its State of Mind section.
How it behaves
The emotional state is a dynamic system, not a lookup table. It is kept separately for each character and each visitor, so one visitor's insult does not spoil the next visitor's welcome.
It shifts with the conversation
After each visitor message a small classifier model reads the message and nudges the axes up or down, by at most 0.15 per axis per message. This runs alongside the reply and does not delay it. You do not need to script triggers or hand-author expression changes; the mood is an emergent read of the exchange so far.
It decays over time
Left alone, every axis drifts back toward neutral (zero) at the decay rate you set. This is what makes the character feel alive between beats — emotions cool naturally instead of freezing on the last thing that happened. A new visitor starts from the starting mood on the wheel.
score
▲
1.0│ ╭─ anger rises after the insult
│ ╱ ╲
│ ╱ ╲___
│ ╱ ╲______ decays back toward neutral
│ ____╱ ╲__________
0.0│──────────────────────────────────────► time
turn: "you're being rude" (no new provocation)
Mood shapes three things at once
Face
An expression layer on top of live lip sync, so the character can frown while it speaks. Mouth shapes stay with the speech.
Voice
The mood gently adjusts the voice's delivery on top of the prosody you set on Language & Voice; how much depends on the voice provider.
Words
The current mood is part of the prompt, so the reply's tone fits how the character feels.
Control it from Blueprint
In Unreal, the IAMX component receives each mood update from the server and smooths it on the character. These Blueprint nodes are in the IAMX | Emotion category of the component. Full signatures are in the Blueprint API reference.
| Node | Type | What it does |
|---|---|---|
Get Emotion Score | Function | Reads the current smoothed score (0–1) of one axis, for example how much Anger right now. Use it to gate dialogue, drive UI or branch gameplay on mood. |
Force Set Emotion | Function | Pins one axis to an exact value (0–1) on the character immediately, with no smoothing. The next update from the server takes over again. |
Reset Emotion | Function | Clears all eight axes to neutral on the character immediately. Good between scenes. |
On Emotion State Changed | Event | Fires whenever the state changes — a server update, a forced value or a reset — and hands you all eight scores. |
Set Mood | Function (category IAMX) | Sets the component's mood label text (Personality.CurrentMood). It does not change the eight axes; use Force Set Emotion for those. |
A typical wiring
- React to changes — bind
On Emotion State Changedand read the axes off the event instead of polling every frame. - Branch on a threshold — inside the event, check Anger or Fear; above a threshold, trigger a de-escalation line, swap a camera or flag the session.
- Punch a scripted beat — on a key story line,
Force Set Emotionfor a guaranteed expression. - Reset between scenes — call
Reset Emotionso the next interaction starts with a neutral face.
On Emotion State Changed over sampling Get Emotion Score every frame — you get the updated scores exactly when they matter.Component settings
Emotion Transition Seconds(default 1.5) — the local smoothing time, used when the server does not send one. Normally each server update carries the studio's Transition Smoothing.Emotion Idle To Neutral Seconds(default 30, 0 = never) — after this long with no mood update and no speech, the face relaxes to a rest face.Emotion Face Control GainandEmotion Baseline Joy— how strongly the mood drives a MetaHuman face, and an optional resting smile.
Where to go next
Blueprint API
Full signatures for every emotion node and event. Open the reference →
Lip sync
How mood and speech share the face. Lip sync →
Install
Add IAMX to your Unreal project. Install guide → · Releases