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 trialTimothy 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?