O'Reilly logo

3D Game Programming for Teens, Second Edition by Eric Grebler, Maneesh Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Controlling Objects

What’s the difference between watching a video and playing a video game? In a video game you have a certain amount of control over your players, the environment, and certain objects, but while watching a video you just watch the events unfold. This chapter is all about control—controlling the objects you create by moving them around the screen. You have a variety of choices when it comes to moving your objects. You can decide along which axis you want them moved, by what increments, and what controls will be used to navigate your objects. This chapter will also explore rotating objects and creating pivots.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required