Click or drag to resize
DigitalRuneICollisionFilterSet Method (Int32, Int32, Boolean)
Enables or disables collisions between a pair of collision groups.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
void Set(
	int groupA,
	int groupB,
	bool collisionsEnabled
)

Parameters

groupA
Type: SystemInt32
The first collision group.
groupB
Type: SystemInt32
The second collision group.
collisionsEnabled
Type: SystemBoolean
If set to collisions between objects in groupA and objects in groupB are enabled. Use to disable collisions.
Remarks
To disable collisions for objects within one group, this method can be called with groupA == groupB.
See Also