Help structuring AnimationTree to combine upper and lower body animations

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bloqm

I’m making a 2D game, and I need to combine the following animations in AnimationTree:

  • full body animations: rest, idle, run. These are the base animation.
  • upper body animations for different weapons: unarmed, two-handed, sword-and-shield, etc. These are filtered to affect only the arm bones.

So far everything I’ve described I’ve implemented it.
But each upper body animation comes in two variations, an idle loop and a oneshot attack. How can I combine those in a simple way?
Do I need a secondar Statemachine to choose the correct animations? If so, how to choose from many animations easily?

This is my setup so far:
enter image description here

Have you found a solution? I’ve got the same problem. Still trying to figure it out.

cyanotic | 2022-11-28 02:00