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 trialJoanne Hardy
3,726 PointsWhy 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
mrbrutus
8,047 PointsI 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);
tomasvukasovic
24,022 PointsHey joanne have you correctly placed the bird in the game area?