SetPhysicsCCD

Description

Turns Continuous Collision Detection on and off. This prevents fast moving objects from tunnelling through static bodies. To prevent fast moving objects passing through each other use SetSpritePhysicsIsBullet When you have a large number of dynamic bodies CCD can be the bottleneck in the physics engine, especially when threading is turned on as this part is not currently threaded. Default is off.

Definition

SetPhysicsCCD( mode )

Parameters