Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Score, Enemies, and Game State Create Enemy Navigation and AI

Joanne Hardy
Joanne Hardy
3,726 Points

Why isn't my bird's animation playing correctly? He is just floating along the ground and not actually walking.

Why isn't my bird's animation playing correctly? He is just floating along the ground and not actually walking. Checked the codes and they are all fine, maybe an animation bug or something? This is literally first "Game" i have worked on so i don't have the necessary expertise to figure it out myself :(

2 Answers

I just had the same problem. Here's my solution:

In the BirdMovement script, make sure you write the word "Speed" with a capital S.

// Pass the Velocity ot the animator Component
        birdAnimator.SetFloat("Speed", speed);

Hey joanne have you correctly placed the bird in the game area?