Animation doesnt stop

Hello,
This question is regarding the “match animation to movement” lecture. The animation is working for me but the character doesn’t change its animation to “idle” even after reaching its destination. It continues the same animation - if it was running, keeps running in place.

I solved it. It was my mistake. I had put the UpdateAnimator() method call inside the If condition for GetMouseButton. Putting it outside as in the image below fixed it.

image

That will do it! Good job finding that.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms