Answered

Blend animations

Martin Pichler 4 years ago updated 4 years ago 2

Hey Peter,

I have 4 directional movement animations and an aiming animation. When I use animation layers from Unitys animator, the characters rotation is way off. Do you have a recommended way of how I can use UMotion to combine the aim and walking animations into a single animation. Basically I want to use the aim animation from the torso upward and the walking animations for feet and rootmotion. 


Thank you :)

UMotion Version:
1.22
Unity Version:
2019.4 LTS

Answer

Answer
Answered

Hi Martin,

thank you very much for your support request.

Yes it's easy to combine the animations in UMotion:

  1. Create a UMotion project and assign your character to the Pose Editor.
  2. Import all animations, that you want to combine.
  3. Open the aim animation and select all keys (CTRL + A in the Clip Editor) and copy them (CTRL + C)
  4. Open the first movement animation and create a new animation layer of type override
  5. Paste the aim animation keys (CTRL + V) into the new layer
  6. Delete all keys of bones you don't want to override
  7. Optional: You can play with the blend weight of the layer in case you don't want to 100% override the upper body.
  8. Repeat for the other movement animations.

Please let me know in case you have any follow-up questions.

Best regards,
Peter

GOOD, I'M SATISFIED
Satisfaction mark by Martin Pichler 4 years ago
Answer
Answered

Hi Martin,

thank you very much for your support request.

Yes it's easy to combine the animations in UMotion:

  1. Create a UMotion project and assign your character to the Pose Editor.
  2. Import all animations, that you want to combine.
  3. Open the aim animation and select all keys (CTRL + A in the Clip Editor) and copy them (CTRL + C)
  4. Open the first movement animation and create a new animation layer of type override
  5. Paste the aim animation keys (CTRL + V) into the new layer
  6. Delete all keys of bones you don't want to override
  7. Optional: You can play with the blend weight of the layer in case you don't want to 100% override the upper body.
  8. Repeat for the other movement animations.

Please let me know in case you have any follow-up questions.

Best regards,
Peter

Thanks for the detailed description peter. It basically worked exactly as you described. But maybe some people are facing similar issues so I thought I describe which other things should be considered. 

I also wanted to eliminate the left and right sway of the walking animations when combined with the aiming animation. For that, I created an additional layer and edited the three spine bones so that the character is facing straight forward. Then I deleted all but the first RootMotion rotation to eliminate the sway.

The whole process was very easy using UMotion. Great Product.