struct

FRetargetChain

Name-matching rules applied before exact-name lookup, in order: 1. explicit nameMap (source bone name → target bone name), 2. prefix strips on BOTH sides ("mixamorig:" → ""), then exact match. Per-bone translation modes are keyed by TARGET bone name; unlisted bones use defaultTranslation (the root keeps its height-scaled path regardless — that behavior predates the modes and montages rely on it). A named limb whose END EFFECTOR has to land in the same PLACE — scaled by the rigs' proportions — and not merely at the same joint angles.

Module
Animation
Header
#include "Animation/Retargeting.h"
Namespace
Mowo

Rotation-only retargeting is exact when the target rig is a uniform scale of the source. It is not, in general: give the target a longer upper arm and a shorter forearm of the same total reach and the replayed angles put its hand somewhere else entirely. That is what breaks hands on props, feet on stairs and weapon grips — the cases where the POSITION is the animation.

Properties

TypeNameDescription
std::stringname
std::stringsourceStartBonee.g. the source rig's shoulder
std::stringsourceEndBone... and its hand
std::stringtargetStartBone
std::stringtargetEndBone
floatweight0 = pure rotation retarget (what happens without a chain), 1 = the effector is placed. In between, the goal is blended toward the placed position, so a rig can be eased onto chain retargeting. Default 1.0f.
Generated from Animation/Retargeting.h via animation.json · Oct 26, 2026Version 1.0.0