Click or drag to resize

RigidBody2DContinuousCd Property

Continuous collision detection mode.

Continuous collision detection tries to predict where a moving body will collide instead of moving it and correcting its movement after collision. Continuous collision detection is slower, but more precise and misses fewer collisions with small, fast-moving objects. Raycasting and shapecasting methods are available. See RigidBody2DCCDMode for details.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public RigidBody2DCCDMode ContinuousCd { get; set; }

Property Value

Type: RigidBody2DCCDMode
See Also