What’s Next

Wow! Our simple avatar simulation is getting quite sophisticated, isn’t it? We’ve already put quite a bit of work into our avatar, but you may have noticed that it can pass right through our trees. In the next project chapter, we’ll talk about collision detection and use it to make our avatar stop when it collides with a tree.

But first it’s time to take a closer look at all of that JavaScript code that was added for us when we started this project.

Get 3D Game Programming for Kids, 2nd Edition 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.