- Home /
Sharing animations between models in Mecanim
So, basically we are importing model and animations as FBX files, it all works fine as long as the model and animations are imported together in the same FBX. Any animations imported separately (for exactly the same rig&model) don't work. I put them into the Animation Controller, they appear to be playing (blue bar is going up) but the character in the scene is not affected by them. Rig is Generic. Any clues greatly appreciated !
Answer by OllyNicholson · Oct 02, 2014 at 01:19 PM
Animation FBX files need to have an identical skeleton hierarchy to the skinned fbx model if you import separately, you'd do well to use the @clipname convention also. You can compare the hierarchies by validating your FBX in your source package. Alternatively you can use the re-targeting feature of Humanoid to playback any animation on a similar (but not identical ) humanoid model. Further info here:
http://docs.unity3d.com/Manual/Splittinganimations.html
http://docs.unity3d.com/Manual/HOWTO-exportFBX.html
Your answer
![](https://koobas.hobune.stream/wayback/20220613164234im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I set or change the default preview model for Mecanim editor playback? 3 Answers
Problem with animation 0 Answers
Animating a humanoid skeleton using text files 0 Answers
Tool for converting 3D Mecanim model to Sprite Sheet 0 Answers
Can't find Mecanim? 2 Answers