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

Modeling Collisions

The last section took a one-sided approach by looking at the effects of a collision on just one object using the impulse-momentum theorem. Now let's look at the effects on both objects involved in the collision. If two objects collide, and both can move, they both apply an impulse to each other due to the collision. Let's look at the impulse-momentum theorem one more time:

Ft = (Δp)

Let's divide both sides by time:

F = (Δp)/t

Newton's Third Law states that for every action there's an equal and opposite reaction. In this case, one object places a force on another object, and at the same time, the second object places an equal and opposite force on the first object:

F1 = –F2

Now let's substitute the impulse-momentum theorem ...

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