What’s Next

We now have a new way to bring our avatars to life. Back in Chapter 4, Project: Moving Avatars, we were able to move the avatar around the scene and perform flips and cartwheels. In this chapter we were able to make parts of the avatar move—making the avatar seem much more alive.

The big concept in this chapter was not a JavaScript thing or even a 3D thing. It was a math thing: sine. Even if you’ve learned about those in math class, I bet that you didn’t learn to use them like we did here!

One thing that our avatar still lacks is the ability to turn. Even when the avatar moves to the left or right, it continues to face forward. That’s a bit odd, right? In Chapter 8, Project: Turning Our Avatar, we’ll cover how to rotate the entire ...

Get 3D Game Programming for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.