- Home /
Blend Tree Animation Problem
Hi everyone :) I face a problem about 2D blend tree. I'm using some basic locomotion animations(from Mixamo) for my character. I put them on a 2D freeform directional blend tree. It looks fine while my character is walking a straight direction(forward, backward, left, right). But it seems really weird while he is walking due northwestern or southeastern direction(There is no problem about northeastern and southwestern directions)
It's a gif that explains my problem well: https://s2.gifyu.com/images/Problema675cbaa23efc544.gif
Thanks :)
Answer by sh_code · Jan 31, 2019 at 06:16 PM
what animation blending does is basically a position/rotation lerp between the two or more animations that it blends.
so you need those blended animations to be in some way compatible with each other in each frame.
if it looks weird, then they are not.
you will have to look into animation layers and masking, at the very least. this is a huge and very complicated topic, not sure how it could be answered even if i had two hours time to just write up the answer.
all i can tell you is: watch about 10 more hours of tutorials on animation, and then you might be able to do it right after 2 hours of experimenting.
if not, watch another 5 hours of tutorials and spend another 2 hours experimenting.
rinse and repeat.
there's no easy way to solve this, you just need to start understanding how the system works and behaves, and you can only get that by examining it and experimenting with it.
making your own trivial animations such as box rotating up and down (one anim) and making it rotate left and right (another anim) and playing around with how those two blend and trying to understand that behavior will help
but there's just no way for xou to be able to work with the system without having at least SO$$anonymous$$E overall understanding about what's going on under the hood, and how to properly utilise it.
Thanks for the answer :) But I already use $$anonymous$$ixamo animations that are used by a lot of developers. They probably dont face a problem like this, because I can't find a similar problem on the internet.