Table of Contents

Enum RigidBody2D.CcdMode

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

Fields

CastRay = 1

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

CastShape = 2

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

Disabled = 0

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