O'Reilly logo

Beginning Math and Physics for Game Programmers by Wendy Stahler

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 8. Motion in One Dimension

KEY TOPICS

A video game is almost like a flipbook: As you loop through the program, all the objects move frame by frame. If you flip through fast enough, the motion appears to be smooth and realistic. But how does the computer know where to place objects in each frame? The laws of physics tell it exactly how the objects should move. Keep in mind that in the real world, so many factors influence motion that you can't possibly take all of them into account. Some factors must be sacrificed to achieve real-time physics, but the ones that are sacrificed are usually quite insignificant. This chapter introduces the world of game physics. It ...

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