- Home /
How to get the Animator Blend Tree to transition between states?,Animator not transitioning to blend tree
I was having a very difficult time getting my character to transition from Idle to walk (or anything) and I could not find any answers whatsoever on this board because so few questions seem to get answered and the Unity tutorial for 2D Simple Animation leaves out quite a few things. So, I thought I would share with you what I was doing wrong and who helped me.
I watched this video by Aaron Hibberd from 2015 and the part beginning around 21:55 was where I was going wrong. Given that you already know how to capture the axis values in the Update method of your character controller and apply them to your custom parameters of the Animator (Aaron covers all of this in the video), you have to
Have your idle animation dropped onto the base layer of your Animator
Have a blend tree (state) dropped onto the base layer of your Animator
Have one or more transitions with conditions pointing from Idle to the blend tree. (These conditions tie to the parameters you capture at Update and send to the Animator.)
Have one or more (one should be enough for a lot of scenarios) transition with the exit conditions from your blend tree state back to idle.
Steps three and four I had missed the first time I viewed the video for some reason. Anyway, here's the link. I hope it helps someone. This drove me crazy for a couple of hours!
Your answer
Follow this Question
Related Questions
Blending animations for a bow with differing charges 1 Answer
Animation causes rigidbody to move 0 Answers
Animator behaviour on GameObject 1 Answer
Animation Lag when Changing Movement Direction 2D (4.3) 2 Answers
Animator & movements 1 Answer