O'Reilly logo

Learning Physics Modeling with PhysX by Krishna Kumar

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

Continuous collision detection

There are two collision detection techniques that are typically used in the physics engine. The first one is Discrete Collision Detection (DCD), and the second one is Continuous Collision Detection (CCD). DCD gives better performance because it checks for collision between two time steps. Collision is only detected after some level of intersection of colliding objects. However, it is also prone to missing the collision of fast moving objects because of its non-continuous collision technique. On the other hand, CDD considers a continuous motion of moving objects and does not miss any collision during motion between two time steps. Because of its continuous nature, CCD is more performance hungry than DCD.

In PhysX, ...

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