Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Timothy Van Cauwenberge
8,958 PointsHow does frog know how to jump like frog?
In the code aren't we just telling the frog to move forward, how does it know to do the leaping animation as if it was a real frog? I feel like we would have to make its arms and legs move like that.
2 Answers

Anusha Singh
Courses Plus Student 22,106 PointsHey Timothy, I used to wonder too that how did the frog actually know how to jump like a frog, but in maya(I don't know if you have taken the course yet) we have to animate the frog to move like that, and then we can use that animated frog in the game.

Anusha Singh
Courses Plus Student 22,106 Pointsyes, you're right, all the objects have animations stored in them unless they are static

Anusha Singh
Courses Plus Student 22,106 PointsI hope my answer helped you!
Timothy Van Cauwenberge
8,958 PointsTimothy Van Cauwenberge
8,958 PointsThanks so much. So all the animations like that are stored in the object before being brought into unity?