| RigidBodyCcdEnabled Property |
Gets or sets a value indicating whether Continuous Collision Detection (CCD) is enabled.
Namespace: DigitalRune.PhysicsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public bool CcdEnabled { get; set; }
Public Property CcdEnabled As Boolean
Get
Set
public:
property bool CcdEnabled {
bool get ();
void set (bool value);
}
member CcdEnabled : bool with get, set
Property Value
Type:
Boolean if CCD is enabled; otherwise,
.
The default is
.
Remarks
See also
MotionSettings. CCD can be used for small fast moving objects to
detect all collisions, e.g. for bullets. The simulation will only perform CCD for pairs
of rigid bodies where
CcdEnabled is set for one of the bodies. If CCD is not
enabled for this body, it can happen that this body moves through other bodies and the
collision is not detected - this problem only occurs for small/thin objects and fast moving
objects.
See Also