Enum RigidBody2D.CCDMode
enum CCDMode
: int { ... }
Enum members
Name | Description |
---|---|
ccdModeCastRay
|
Continuous collision detection enabled using raycasting. This is faster than shapecasting but less precise. |
ccdModeCastShape
|
Continuous collision detection enabled using shapecasting. This is the slowest CCD method and the most precise. |
ccdModeDisabled
|
Continuous collision detection disabled. This is the fastest way to detect body collisions, but can miss small, fast-moving objects. |