Search Unity

How to mix animations with different mask into the same layer in Mecanim?

Discussion in 'Animation' started by testqaz, Sep 16, 2018.

  1. testqaz

    testqaz

    Joined:
    May 21, 2017
    Posts:
    5
    I have 2 animations torch idle and torch attack, both are full body animation in the fbx.

    I want the torch idle affect only the right hand and torch attack affect the full body.

    So I mask torch idle as the image and kept torch attack untouched.
    upload_2018-9-17_0-34-32.png

    My controller has two layers, Base Layer containing locomotion and Torch Layer contains the two torch animations. Torch Layer and has layer weight 1.

    The problem is that torch idle overwrite the Base Layer base locomotion.
    Making a weird pose:
    upload_2018-9-17_0-38-36.png upload_2018-9-17_0-38-58.png

    Torch Layer layer weight 0.5:
    upload_2018-9-17_0-41-59.png


    left:locomotion idle | right: torch idle
    upload_2018-9-17_0-44-55.png

    Please help!
    Thanks
     
    Last edited: Sep 17, 2018