Physics2DServerSingleton.CCDMode

Values

ValueMeaning
ccdModeDisabled0

Disables continuous collision detection. This is the fastest way to detect body collisions, but can miss small, fast-moving objects.

ccdModeCastRay1

Enables continuous collision detection by raycasting. It is faster than shapecasting, but less precise.

ccdModeCastShape2

Enables continuous collision detection by shapecasting. It is the slowest CCD method, and the most precise.

Meta