All Collections
Move One
Tutorials
Unity - Retargeting your Move One animation to Unity
Unity - Retargeting your Move One animation to Unity
Updated over a week ago

Prerequisites

This tutorial uses Unity 2021.3.6f1; previous versions apply.

FBX import into Unity

This article will walk you through how to import Move motion data FBX and apply it to your own character or metahuman in Unity.

1.1 Import Character Mesh

You will need to import the static.fbx file of your rig before then importing the animation .fbx file. The animation is then applied to the static.fbx file which includes mesh data.

  1. In your Unity project, right-click in your Assets folder and select Import New Asset.

  2. Select your character and select Import. The character will be available in the assets folder where you can select the character and bring up an inspector pane on the right.

  3. In the rig tab, choose the Animation Type: Humanoid. Click Apply.

  4. Drag the character into the scene.

1.2 Importing Move Animation FBX

  1. Right-click into your Assets folder and select Import New Asset.

  2. Select the pre-retargeted move .fbx file (i.e. take_name_actor00_rig_name.fbx) and select Import. The animation will now be available in the assets folder.

  3. Select the animation. On the inspector pane on the right, in the Rig tab and choose the Animation Type: Humanoid. Click Apply.

1.3 Create Animation Controller

  1. Right-click your assets folder and select Create > Animator Controller. Rename it to what you like.

  2. Double-click the created Animator Controller to open the Animator window.

  3. Drag the imported Animation from the Asset Folder into the Animator window.

  4. To prevent foot sliding: - Select the imported Move animation inside the Animator Controller within the Animator window - In the inspector panel, check the box by “Foot IK” - If there is still a small amount of foot sliding, you can select the imported FBX in the Asset folder and go to the Animation tab in the Inspector panel. Here you should turn off the “Anim. Compression” (Default is “Optimal”).

  5. Unity might import the FPS incorrectly (30 instead of 60). In that case, set the Speed to 2

1.4 Add Animation to Character

  1. Select the character in your scene. Drag the Animation Controller into the Controller in the inspector window under Animator

1.5 Correct the Animation Rig if needed

  1. In some cases, the animation’s bones may not be correctly assigned; in this case, the animation rig must be adjusted. Select the Animation in the Assets folder.

  2. In the Inspector window, click configure under Avatar Definition

  3. If the hips are misconfigured: drag the Hips from the Avatar Configuration window on the left to the Hips Node in the Inspector window

  4. At the bottom of the node setup in the Inspector window click Apply. Then click Done to return to the Scene. The animation should now be correctly applied to the character.



Did this answer your question?