Update Mixamo Animation Data authored by Pin-Hua Ho's avatar Pin-Hua Ho
......@@ -27,3 +27,38 @@ Learn how to import animations from [Mixamo](https://www.mixamo.com) to our Unre
|:arrow_left: [Go back to _import data_ page](Import-Data)|
|--------------:|
# Alternative Approach: Retarget Mixamo Animations to Metahumans
In this approach, we use add-on in Blender and retargeter in Unreal Engine to convert the animations from Mixamo to Metahuman-capable animations.
## Add a Root Bone to the Mixamo Animation
After you download the animation **with skin** from Mixamo, follow this (tutorial)[https://youtu.be/ZOxL7Z7d-I0?si=Bqco8fcRWOHGtMol] to set up the Blender add-on.
Then you might want to play a bit with these options, and press convert single to preview in Blender. To put it simply, we usually want the root bone to be attached to the floor at where the pelvis bone projects to the xy-plane. **However**, keep in mind that if the animation contains z-axis movements, the root bone should follow the pelvis bone with a certain distance down the z-axis.
![image](uploads/1ae48b665f1e8b53a173dee104819efc/image.png){width=219 height=600}
Finally, you can either export the armature with animation to a FBX file or you can set the input path and output path, and click Batch Convert.
You will find your converted animation FBX file in the output path. We will import it into Unreal Engine.
## Retarget Animation
Drag your converted Mixamo animation into the content browser, in the import options:
1. Check "Import Only Animations".
2. Set the skeleton to SK_Mixamo_Skeleton.
![image](uploads/a0c55f04c1c1dce6b45572719c69cd8d/image.png){width=875 height=600}
Then click import.
Then right-click on the imported Animation Sequence asset, click Retarget.
![image](uploads/1a9b079d47050d5b13b7dd3bd593c0bf/image.png){width=227 height=600}
In the retarget panel,
1. Uncheck "Auto Generate Retargeter".
2. Set the retarget asset to "RTG_MixamoToMH".
![image](uploads/5c6cac9bccbbbf2a072ce0315776f5fa/image.png){width=900 height=532}
Select the animation sequences and click Export Animations. Then set the path to save and naming settings.
\ No newline at end of file