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, by default, DCD is enabled because it is more performance friendly than CCD. However, there may be situations where we need to enable CCD, in order to take advantage of its collision detection accuracy and reliability.
To enable CCD in PhysX, the following...