I am working on animating my character so it can go in all 8 directions sprinting, walking, crouching, jumping...
First I was using the animator transitions and parameters, everything worked fine, I were switching only parameters with my script, but it was getting way to messy, with to many transitions.
Then I switched to playing the animations directly from the script, using the GetComponent<Animator>().Play(wantedState);. However this does not blend animations and I don't know how to.
If anyone has any idea - I would appreciate any help. Thanks.
I have tried putting any other word instead of play, such as Fade, but nothing worked.
Instead of using
Animator.Playwhich hard jumps to the indicated state you are rather looking forAnimator.CrossFade