Multiple animations in the same state

Hi everybody,

I exported an animated steam locomotive model from Blender to Unity.
Apart from the fact that, when I imported the fbx to Unity there were a lot of garbage animations (and I do not know why), I need some help to play all the animations together.
In the side of the wheels of the locomotive there are some rods: I’ve animated all of them and produced 8 different animation clips: one for each rod.

Now, the locomotive has an animator component that has two states: Stopped and Moving. I’d like to play all my animation clips at once when I reach the Moving state. I tried, but I can only play one single animation clip inside a state.

Could somebody please help me?

Thank you very much for your patience and for your time.

I’m in the same boat right now. What I did was make layers and set them to additive. But I really would recommend in your case that you animate them all together and make one clip.

1 Like

For optimal performance you should always bake multiple animated elements on the same model into a single animation clip when exporting. However, you can easily play multiple animations at the same time with a blend tree.

  • Create an empty state in the Animator.
  • Right click on empty state and select “Create new BlendTree in state”
  • Double click on state to open new BlendTree then select the BlendTree itself.
  • Add each animation you want to play as a motion on the BlendTree.
  • Uncheck “Automate Thresholds” and set all thresholds to 1.
12 Likes