Unity Mecanim Play two animations [UPDATED]

How do I play two (or more) different animations at once in the animator?

I have an animation control that can play one single animation at a time but im unsure how i would go about making it play two animations. I would use code but for some reason im unable to get the animations playable. This will idealy be used for shouting while walking for example.

Thanks in advance for any help

  • CSNewman

Project window → Create → Avatar Mask

Define mask (to define which bodyparts are used or not)

Add mask to a new layer in Animator - top layers will override layers below it.

Decide if Additive or override is what you need.

Use layer weight to switch anim on or off while other is playing

You can use animation layers. Check out the unity training video on it here: https://unity3d.com/learn/tutorials/modules/beginner/animation/animator-controller-layers