Tut 2 Walking Animation


I used the provided tutorial 2 sample file of a character as my starting point. I imported the character into Unity and attempted to get the walking animation working. I used the Unity transition feature to transition from the characters idle animation to the character's walking animation. However, I wanted the walking animation to only play when the character was walking. I currently had a set up that would play the walking animation all the time.  I made a script to check whether the character was walking. I had a boolean value called IsWalking. I set this to true when the character was walking. Otherwise, it was false. I attempted to make the walking animation only play when IsWalking was true. I also made some ground for the character to walk on. Then I recorded the character walking. This is the result ...      Note took a while to hit record again.

It has a slight problem in that the animation always walks forward even if the character is moving in another direction.

Leave a comment

Log in with itch.io to leave a comment.