Retarget AI Mocap to UE5 & Unity (2026)

Step-by-step 2026 guide to retargeting AI motion FBX files onto Unreal Engine 5 IK Rig (Manny/Quinn) and Unity Humanoid Mecanim with clean scale & root.

Nov 25, 2026
Table of Contents

Interactive Motion Workbench · Runs Live in Browser

Test 3D motion FPS, check engine retargeting specs, or calculate credit budgets

1. Target 3D Engine / DCC
2. Motion File Format

Direct export from HY-Motion 1.0 Studio

Coordinate Axis

Z-up (Left-handed)

Unit Scale

Centimeters (1 unit = 1 cm · 100× meters)

Target Rig Standard

UE5 Manny / Quinn IK Rig + IK Retargeter

Root Motion Setup (Unreal Engine 5)

Enable Root Motion in AnimSequence and lock Pelvis/Root Z translation for flat ground.

Foot-Sliding Prevention

Enable IK Rig Foot Locking (Left/Right Foot goals) with 0.02–0.04m contact blend.

Pre-Import Verification Checklist

  • Import Studio FBX at 1.0 uniform scale (check cm vs m on first frame).
  • Align A-pose vs T-pose shoulder offsets inside the IK Retargeter Edit Pose tab.
  • Enable Foot IK Pinning on ground-contact intervals before baking the AnimSequence.

To retarget an AI-generated motion capture FBX onto Unreal Engine 5 or Unity cleanly in 2026, you must align four technical invariants in strict order: coordinate axis and unit scale, rest-pose alignment (T-pose vs A-pose), bone-chain mapping, and root-motion / foot-IK baking. Skipping step one or two is why most first-time imports explode into spaghetti limbs, sink through the floor, or snap 90 degrees sideways.

Whether your clip came from HY-Motion 1.0 on hunyuanmotion.org, Rokoko Video, or Plask, the underlying retargeting math is identical. Use the Rig Checker tab in the interactive workbench above for quick engine specs, then follow the exact UE5 and Unity checklists below.

Axis, Scale, and Rig Matrix: UE5 vs Unity vs Blender

Pipeline ParameterHY-Motion 1.0 FBX DraftUnreal Engine 5 (Manny / Quinn)Unity Humanoid (Mecanim)Blender 4.x Intermediate
Up AxisY-up / FBX metadataZ-up (Left-handed)Y-up (Left-handed)Z-up (Right-handed)
Linear UnitMeters (1.0 = 1 m)Centimeters (100× meters)Meters (1.0 = 1 m)Meters (1.0 = 1 m)
Native Frame Rate30 FPS (0.5s–12s)30 or 60 FPS (resampled on import)30 or 60 FPS30 FPS scene timeline
Retarget Architecture22-joint humanoid skeletonIK Rig + IK RetargeterHumanoid Avatar Muscle SpaceBone Constraints / ARP / Rokoko plugin
Root Bone ExpectationHips / Pelvis translationDedicated ground-level root + pelvisRoot Transform derived from Hips + FeetExplicit Root bone for clean NLA

Before importing a batch of clips, run one test file through our Motion Retargeting Calculator or the dedicated Mixamo to UE5 Rig Retargeting Guide so you lock down your import preset once.

Part 1: Retargeting AI Motion Capture to Unreal Engine 5 (5.3–5.5+)

Unreal Engine 5 replaced legacy Skeleton Retarget Manager workflows with IK Rig and IK Retargeter. Once you build a reusable Source IK Rig for your AI motion provider, retargeting 50 new animations takes less than two minutes.

Step 1: Clean FBX Import Settings

Drag your downloaded HY-Motion 1.0 FBX into the Content Browser and verify these import options:

  • Import Mesh: Uncheck if you only need the skeleton + AnimSequence (or keep enabled on the very first import so you have a clean reference Skeletal Mesh for the Source IK Rig).
  • Convert Scene & Convert Scene Unit: Enable Convert Scene and Convert Scene Unit so meter-authored FBX clips scale cleanly to Unreal's centimeter space (character height ~170–180 cm).
  • Import Animations: Checked, with Use Default Sample Rate (30 FPS) enabled so Unreal does not inject erratic sub-frame tangents.
  • Snap to Closest Frame Boundary: Checked to keep loop durations exact.

Step 2: Build the Reusable Source IK Rig

Right-click in Content Browser → Animation → Retargeting → IK Rig, and assign the imported AI skeleton mesh:

  1. Set Retarget Root: Right-click the pelvis / hips bone in the hierarchy and choose Set Retarget Root. This tells Unreal which joint drives global height and ground translation.
  2. Create Retarget Chains: Define clean start-to-end chains matching IK_Mannequin:
    • Spine: spine_01 → spine_03 (or chest)
    • Head: neck → head
    • LeftArm: upperarm_l → hand_l (include clavicle_l as a separate LeftClavicle chain if present)
    • RightArm: upperarm_r → hand_r
    • LeftLeg: thigh_l → foot_l (or ball_l)
    • RightLeg: thigh_r → foot_r
  3. Add Full-Body IK Goals (Optional for Foot Locking): Adding LeftFootGoal and RightFootGoal lets you pin stance feet during retargeting—crucial for eliminating subtle AI foot skating.

Step 3: Match Rest Pose Inside IK Retargeter

Create an IK Retargeter, set Source IK Rig to your AI rig, and Target IK Rig to IK_Mannequin (Manny or Quinn):

  • Click Edit Retarget Pose and inspect the target Manny silhouette against the source skeleton. Most AI motion FBX drafts ship in a near-T-pose, whereas UE5 Manny ships in an A-pose (arms angled ~40° down).
  • Rotate Manny's upper arms upward ~35–42° (and adjust elbows/hips slightly) until both skeletons share the same neutral posture. Never skip Edit Retarget Pose—it is the #1 fix for shoulders collapsing inward during overhead sword slashes or parkour vaults.
  • Check Chain Mapping so every Source Chain points to the exact Target Chain. Verify Translation Mode on Spine is set to None (rotation only) while Pelvis uses Globally Scaled.

Step 4: Configure Root Motion and Export AnimSequence

Preview the clip in the IK Retargeter viewport. If the character travels forward (for example, an idle-to-sprint or lunge), verify whether your gameplay uses Root Motion or In-Place Locomotion:

  • For Root Motion: Ensure Root translation is enabled in the Retargeter's Root Motion Op and check EnableRootMotion inside the exported AnimSequence.
  • For In-Place Blend Trees: Enable Force Root Lock or extract XY translation inside Blender prior to import so your CharacterMovementComponent drives velocity cleanly.

Click Export Selected Animations to bake clean .uasset sequences ready for your Animation Blueprint.

Part 2: Retargeting AI Motion Capture to Unity Humanoid (Mecanim)

Unity's Mecanim system converts skeletal animations into normalized Muscle Space, making it remarkably fast to share one HY-Motion 1.0 FBX across stylized, realistic, and chibi characters—provided the Avatar definition is configured cleanly.

Step 1: Import Rig as Humanoid

Select your imported .fbx asset in Unity's Project window and open the Rig tab in the Inspector:

  • Animation Type: Switch from Generic to Humanoid.
  • Avatar Definition: Choose Create From This Model (for the first clip from this skeleton source; subsequent clips can choose Copy From Other Avatar to avoid regenerating Avatars).
  • Click Apply, then click Configure... to inspect the Avatar bone map.

Step 2: Audit Avatar Mapping and Enforce T-Pose

Inside the Avatar Configuration view:

  • Every required bone circle (Hips, Spine, Chest, Head, UpperArm, LowerArm, Hand, UpperLeg, LowerLeg, Foot) must glow green.
  • Check that UpperArm is not accidentally mapped to a Clavicle/Shoulder bone.
  • At the bottom right, open Pose → Enforce T-Pose. If limbs visibly twist into unnatural angles, click Reset and manually adjust upper-arm Z rotation so arms point horizontally outward with palms facing down.
  • Switch to the Muscles & Settings tab and scrub the preview sliders (Arm Down-Up, Leg Open-Close) to confirm clean deformation before clicking Done.

Step 3: Fix Floating, Drift, and Loops in the Animation Tab

Select the Animation tab on the imported FBX and configure the three Root Transform blocks carefully:

Root Transform BlockCombat / Root-Motion LungeIn-Place Walk / Sprint Loop
Root Transform RotationBake Into Pose = Off (or Original)Bake Into Pose = On (Based Upon: Body Orientation)
Root Transform Position (Y)Bake Into Pose = On (Based Upon: Feet)Bake Into Pose = On (Based Upon: Feet)
Root Transform Position (XZ)Bake Into Pose = Off (Center of Mass)Bake Into Pose = On (Center of Mass)

Setting Root Transform Position (Y) to Bake Into Pose → Based Upon: Feet eliminates 80% of vertical floating complaints on AI motion clips. For cyclical clips, trim 2–5 frames off the start and end until the green/yellow Loop Match indicators turn green, then enable Loop Time and Loop Pose.

Step 4: Enable Foot IK in Your Animator Controller

Open your Animator Controller, select the Animation State carrying your retargeted clip, and check Foot IK. Unity's Humanoid solver uses the original IK foot goals stored during Muscle Space conversion to clamp feet tighter to the floor during stance frames. For severe ground slip, read our deep dive on Fixing Foot Sliding & Root Motion in AI Mocap.

5 Common Retargeting Errors and Instant Fixes

  1. Character faces backwards (-Z vs +Z): Add a 180° Y-axis rotation offset in Unity's Root Transform Rotation → Offset, or rotate the root in Blender (R Z 180, apply rotation) before exporting.
  2. Spaghetti knees or inverted elbows: Check pole vector / bone roll alignment in rest pose; elbows should have a slight 2–5° backward bend and knees a slight forward bend in the rest pose so IK solvers never flip sign.
  3. Pelvis sits 10 cm too high on shorter stylized rigs: Verify Globally Scaled translation on UE5 Pelvis or check Unity Avatar Scale so hip height scales proportionally to leg length rather than copying raw meters.
  4. Jittery fingers or stiff wrists: HY-Motion 1.0 focuses on full-body humanoid kinematics; mask hand bones in an Animator Avatar Mask or UE5 Layered Blend Per Bone and layer clean weapon-grip poses on top.
  5. Frame rate mismatch (24 FPS vs 30 FPS vs 60 FPS): Audit total frame counts beforehand with our Motion Clip Timing Calculator so combat hit-windows land on exact frames.

Ready to generate a fresh FBX draft tailored to your target engine? Launch a 60-credit Fast pass in Hunyuan Motion Studio or review non-expiring credit packs on Pricing.

FAQ

Why does my AI motion FBX look 100 times too small or giant in Unreal Engine 5?

Unreal Engine 5 uses centimeters (1 unit = 1 cm) while Blender, Unity, and many AI exports default to meters (1 unit = 1 m). Confirm Convert Scene Unit is enabled on FBX import or normalize scale in Blender before exporting.

How do I retarget an HY-Motion 1.0 FBX onto UE5 Manny or Quinn?

Import the FBX skeleton into Unreal Engine 5, create a Source IK Rig with Pelvis set as Retarget Root and chains mapped for Spine, Head, Arms, and Legs, then open an IK Retargeter targeting IK_Mannequin, match the A-pose shoulder alignment, and export the AnimSequence.

Why do arms cross the chest or twist in Unity Humanoid retargeting?

Arm twisting almost always stems from a rest-pose mismatch (A-pose vs T-pose) or inverted shoulder/clavicle bone assignments. Open Configure Avatar in Unity, click Pose → Enforce T-Pose, and check that Shoulder and UpperArm map to distinct bones.

Should I use Bake Into Pose for Root Motion in Unity?

Bake Root Transform Position (Y) into Pose based upon Feet to prevent vertical floating or sinking, and leave Root Transform Position (XZ) unbaked if your character controller is driven by root motion—or bake XZ too for in-place Blend Trees.

Can I preview and check bone counts before importing into UE5 or Unity?

Yes. Use our embedded Rig Checker tab above or open the free browser Motion Retargeting Calculator and BVH Bone Count Checker to audit axis conventions, scale ratios, and frame counts before opening your game engine.

Hunyuan Motion Editorial Team