Biomechanical¶
The engine for characters people look at up close.
How it keeps its gaze intent apart from the body carrying it out, how the eyes and head share a look, and what it does with a target it cannot reach or cannot see.
Gaze Intent and the Body Are Kept Apart¶
A classic look-at computes the pose that would point at the target and moves the bones toward it. Biomechanical does something different. It keeps what the character is trying to look at and what its body has managed so far as two separate things.
Because the intent and the body are separate, looking away does not erase the intent. The character still knows where the target is, so looking back is a movement with a beginning and an end, not a snap to a remembered value. A target that moves is followed, and a target that stops is held. And the head keeps turning until the eyes have recentred in their sockets, which is the thing that makes a head turn read as a person turning to look rather than a rig rotating.
Gaze Delivery¶
Gaze Delivery sits above the engine's own sections and holds the choices about how the character looks. It is set out on Eyes & Gaze. Pace Relaxation works under both engines, and Look Balance under this one.
Pace Relaxation¶
Under this engine, raising Pace Relaxation has the head ease into the turn and reach its top speed later and lower, the way a person turning at their leisure does, then let go as it arrives, so the look lands where it would have. A single look can set its own, from code or from a gaze clip.
How the Eyes and Head Share a Look¶
When a person glances at something nearby, only the eyes move. When they look at something further round, the head joins in, and for a big turn the body follows. Nobody decides that consciously, and nobody tells this engine either.
It works the same way the real system does. A small look stays in the eyes, a larger one brings in the head, and a look too big for both brings in the body. Every size of look between a glance and a full turn lands where a person's would.
Head Joins At, in the engine's The Gaze section, is the one to change here: how far the eyes go on their own before the head starts to help. Lower it for a character that turns its head readily, and raise it for one that does more with its eyes.
Once a look lands, the head can stop a little short and leave the last of it to the eyes, the way people do, then come round over a moment or stay where it landed. Settling, under Holding The Gaze, picks which. The rest of the section is tuned to work out of the box, and most characters never need it, but if something feels off, it is there to adjust.
Look Balance¶
That sharing has a middle, the character's ordinary look, and Look Balance moves a look either side of it. Lower, the eyes carry more and the head holds back, so the character watches something from the corner of its eye. Higher, the head and body carry more, so the character turns to face what it looks at and leans in on a look down. At either end the look still lands on its target.
How the shift holds up over a long look is set by When It Tires. Body Wins lets a balanced look tire the character like any other look, and as the character eases off, its ordinary look takes over again: held long enough, a sidelong look turns the head round in the end. Balance Holds keeps the look as it is for as long as it lasts. A single look can set its own balance, from code or from a gaze clip.
Built From the Research¶
The engine is put together from the published science of how people look, and its inspector is laid out the way a look happens, as three responses in the order they occur.
- Cognitive Response is what the character works out: where the target is, whether it is moving, and whether the look is done yet. It follows a moving target the way a person does, by predicting where it is going, so it keeps up through a moment the target cannot be seen.
- Physical Response is how the body moves. The head has weight and swings like it, the eyes settle the way real eyes settle, and a look of any size takes exactly the time a real one would.
- Reflex Response is what keeps everything steady while all of that moves: the eyes stay on the target while the head is still turning, and the head steadies itself in space and comes back to the body line.
Beside the three, Physiology holds the character's built-in traits, where the eyes settle when they have nothing to do and how far the peripheral vision reaches. Those are the character. The responses are its behaviour.
Comfort & Reach¶
A target beyond where the character can comfortably reach is handled, never ignored. The character reaches as far as it comfortably can and holds, and eases off a strained look over time, the way a person at the edge of their vision does. Beyond that, the character can report to your game that a target is out of reach and by how much, so the body can be turned by the thing that owns the body.
A target the character loses, one it can no longer see and that stops being refreshed, is coasted on for a while and then given up, rather than stared at forever.
Comfort Limit, in The Gaze section, says what the head's comfortable range means for this character:
- Retreat, the default, is how people behave: a strained look holds for a while, tires, and the character eases off it.
- No Comfort Limit lets the head go wherever the look asks, and the character never tires.
- Limit Inside Comfort keeps the head inside its comfortable range, leaving more of a deep look to the eyes and body.
Beyond Reach¶
Out Of Reach, in the same section, is what the character does about a target it cannot reach at all: Reach & Request turns as far as it can and holds there, while Eyes Only keeps the head where it was and lets the eyes carry what they can, a character that will not crane.
A target far behind the character, past what its eyes, head and body can turn to together, is one FaceCue cannot finish on its own, because FaceCue never turns the body itself. Where a character stands and which way it faces belong to your game. With Request A Body Turn on, the Eyes driver raises the BodyReorientRequested event when a target is beyond reach, carrying how far the body would have to turn. Hook it to your character controller or animation system and let that decide whether the character turns, steps or stays. Turn by the reported amount and the target lands back inside reach. With nothing subscribed, the character settles at its reach. The event is covered on Look Target.
A Target Behind a Wall
Your look-target source carries a flag saying whether the target can currently be seen, and it is yours to set: a line-of-sight check, a trigger volume, whatever your game already knows. Say a character is watching someone run across a street, and the runner passes behind a parked van.
While the runner is out of sight, the character keeps looking where the runner would be by now, along the line it had been following, exactly the way a person's eyes keep travelling along the path they expect. If the runner zigzagged behind the van, the character is briefly wrong, and the moment the runner comes back into view the look corrects with a real movement to where they are. A typical look-at has only two options, and both give the game away. It can stop dead the instant the flag drops, so the character freezes on the van. Or it can go on tracking the real target through the van, so the character follows someone it cannot possibly see. Neither is what a person does.
When to Use It¶
Biomechanical is for characters people will look at up close. That is the short answer, and the rest of this section is what it means in practice: where the difference is visible, what the engine needs from you, and when to leave it alone.
Where the Difference Shows¶
The engine earns its cost in the moments a person would notice a rig.
- Eye contact at close range. In VR the player stands where a person would, and looks a character in the eye. This is where the eye-and-head split is plainest: a glance at the player is eyes only, a turn to follow them round is the head, and the handover between the two is what makes the character read as present rather than tracking. Set Hard Personal Space on the Eyes driver and a player who steps in too close gets a lean back and a release, the way a person makes room. See Too Close.
- A held look. Dialogue, a listener, anyone whose look rests on one target for more than a moment. A look-at that only aims reaches the pose and stops. This engine settles, and a strained look is eased off over time, so a long conversation does not look like a freeze frame.
- A moving target. A player walking past, a character crossing the room. The look is led by where the target is going, not dragged behind where it was, and a target that passes out of sight is followed along its path and picked up again when it reappears.
- A body that joins in. A seated character behind a counter, a character who should turn in place to follow the player. The posture options say how much of the body is free to turn, and a target beyond reach is reported to your game so the body can be turned by the thing that owns it. See The Body.
What It Needs From You¶
Less than it sounds. The engine's model is inside it, and the defaults are the measured ones, so a character set up by the OneClick Wizard is already running it. What it takes from you is the same as Simple takes:
- A head bone, found at setup, and a chain below it if the body should join a look. Leave the chain empty and only the head turns.
- A target, set through the Look Target input, and the visibility flag on it if your game knows when the target cannot be seen.
Everything else is tuned to work out of the box, and most characters never need it, but if something feels off, it is there to adjust. The three responses and the physiology are there to change a character's temperament, not to make the engine work.
When Not To¶
For a crowd, or a stretch of heavy action where nobody is watching faces, the engine is doing work nobody sees. Simple gives the familiar game-character look at a lower cost, and both engines share the eyes at rest, the blinks, the pupils and the idle motion, so a crowd on Simple and a lead on Biomechanical still look like the same kind of character. How much Simple saves, and why the output rate is usually the better lever, is on the introduction.