Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

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:
    3
    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