RigidBody2D.CCDMode

Values

ValueMeaning
ccdModeDisabled0

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

ccdModeCastRay1

Continuous collision detection enabled using raycasting. This is faster than shapecasting but less precise.

ccdModeCastShape2

Continuous collision detection enabled using shapecasting. This is the slowest CCD method and the most precise.

Meta