Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
Dismiss Notice
Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.

Question How do I prevent animations on different layers from getting blended ?

Discussion in 'Animation' started by stalwart5033, Jun 7, 2022.

  1. stalwart5033

    stalwart5033

    Joined:
    Jun 7, 2019
    Posts:
    40
    The question is very simple, I searched but couldn't find it anywhere, i just want the current playing animation in the base layer not blend with current state animation in other layer.

    All layers blending type is override and my character is transform motion based 2D character

    it says something about it in the write defaults section in the unity documentation but I guess it has nothing to do with it because it doesn't work for this
     
    Last edited: Jun 13, 2022
  2. stalwart5033

    stalwart5033

    Joined:
    Jun 7, 2019
    Posts:
    40
    any ideas ?
     
  3. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    5,962
    If what you mean is that you don't want the base layer's animation to have any influence over the bones specified by the mask on the second layer, you can set the second layer to override instead of additive.
     
  4. stalwart5033

    stalwart5033

    Joined:
    Jun 7, 2019
    Posts:
    40
    Hello, thanks for the answer, I searched but couldn't find anything about it. I'm working on a 2d character, its animation runs by moving of transforms, all layers blending type selected as override.

    I don't know if it's possible to do something with the avatar mask as I have not worked so deeply with 3D characters other than environmental. I explained the problem exactly in the video

    (I'm aware of 2D animation package but I just I made these as a start for project and I know layers should be used around body parts in such animations)
     
    Last edited: Jun 20, 2022