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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Blending two animations (2D)

Discussion in 'Animation' started by Rioneer, Aug 16, 2015.

  1. Rioneer

    Rioneer

    Joined:
    Nov 27, 2013
    Posts:
    51
    Hey guys, I have a character like one in my avatar and I have no idea how to make it shoot and run at the same time using animator controller. The only thing I could come up with was to make each part of the character separate to animate them separately. Legs and upper body is 2 different game objects. I was ok with this workaround until I realized I have to separate the gun as well, 'cause it looks quite messy this way. Is there any simple way to do this? Thanks in advance.
     
  2. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    Do you mean that you have two different animator component that drive your character.

    Most user us two animation layer with an avatar mask on each layer, the first one drive the lower body and all the locomotion and the second one drive the upper body and aiming
     
  3. Rioneer

    Rioneer

    Joined:
    Nov 27, 2013
    Posts:
    51
    Thanks for mentioning avatar masks and animation layers! I wasn't even aware of their existance. Now I know where to focus on.