Click or drag to resize
DigitalRuneCollisionResponseFilterSet Method
Enables or disables collision response between the given rigid bodies.

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public void Set(
	RigidBody bodyA,
	RigidBody bodyB,
	bool responseEnabled
)

Parameters

bodyA
Type: DigitalRune.PhysicsRigidBody
The first rigid bodies.
bodyB
Type: DigitalRune.PhysicsRigidBody
The second rigid bodies.
responseEnabled
Type: SystemBoolean
If set to the collision response between bodyA and bodyB is enabled. Use to disable the collision response.
Exceptions
ExceptionCondition
ArgumentNullExceptionbodyA or bodyB is .
See Also