| RigidBodyCollisionResponseEnabled Property |
Gets or sets a value indicating whether collision response is enabled.
Namespace: DigitalRune.PhysicsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public bool CollisionResponseEnabled { get; set; }
Public Property CollisionResponseEnabled As Boolean
Get
Set
public:
property bool CollisionResponseEnabled {
bool get ();
void set (bool value);
}
member CollisionResponseEnabled : bool with get, set
Property Value
Type:
Boolean if the collision response is enabled; otherwise,
. The default value is
.
Remarks
If collision response is disabled, no
ContactConstraints are created for this
rigid body, and the simulation will not stop the body from moving through other rigid
bodies. Disabling collision response only make sense if there is no
Gravity in
the simulated world or if the body is held in place by constraints or other forces. Without
constraints or forces the body will just fall through the floor and nothing will stop it.
See Also