| ICollisionFilterSet Method (Int32, Int32, Boolean) |
Enables or disables collisions between a pair of collision groups.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax void Set(
int groupA,
int groupB,
bool collisionsEnabled
)
Sub Set (
groupA As Integer,
groupB As Integer,
collisionsEnabled As Boolean
)
void Set(
int groupA,
int groupB,
bool collisionsEnabled
)
abstract Set :
groupA : int *
groupB : int *
collisionsEnabled : bool -> unit
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