Search Unity

Question How to have different animations for jaw and eyes

Discussion in 'Animation' started by AtomR, Jan 30, 2023.

  1. AtomR

    AtomR

    Joined:
    May 22, 2012
    Posts:
    40
    Unity animator allows us to create animation layers with avatar masks so that we can play one animation of the right arm, and another on the torso, legs etc etc. And mix and match as needed.

    I have a more specific mask that I need. I need the eyes and jaw to be independent from one another.

    I have animations (created within unity) for the eyes that animate the Animator.RightEye and Animator.LeftEye bones, and animations for the jaw that animate the Animator.Jaw.

    But only one or the other works at the same time. The masks I created for both, specify which bones belong to each mask.


    for the eyes


    for the jaw

    In both cases I have also specified the humanoid part of the head


    But the jaw is taking precedence (I suppose because it is the last layer on the animator). If I disable that layer then the eyes work as I want them.

    I have tried only specifying the bones and not the humanoid head, on the masks, but nothing works without the head being enabled on both avatar masks.

    Does anyone know how I can do this work?