Table of Contents

Enum PhysicsServer2D.CcdMode

Namespace
Godot
Assembly
GodotSharp.dll
public enum PhysicsServer2D.CcdMode : long

Fields

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.

Disabled = 0

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