Physics2DServerCCDMode Enumeration |
[Missing <summary> documentation for "T:Godot.Physics2DServer.CCDMode"]
Namespace: Godot
public enum CCDMode
Member name | Value | Description | |
---|---|---|---|
Disabled | 0 | Disables continuous collision detection. This is the fastest way to detect body collisions, but can miss small, fast-moving objects. | |
CastRay | 1 | Enables continuous collision detection by raycasting. It is faster than shapecasting, but less precise. | |
CastShape | 2 | Enables continuous collision detection by shapecasting. It is the slowest CCD method, and the most precise. |