CollisionDetectionCollisionFilter Property |
Namespace: DigitalRune.Geometry.Collisions
This filter can be used to disable collision detection between selected collision objects. This filter is ignored in closest-point queries (see GetClosestPoints(CollisionObject, CollisionObject) and UpdateClosestPoints(ContactSet, Single)). It is used for HaveAabbContact(CollisionObject, CollisionObject), HaveContact(CollisionObject, CollisionObject), GetContacts(CollisionObject, CollisionObject) and UpdateContacts(ContactSet, Single).
Per default, this property is and all collisions are enabled. If collision filtering is needed, CollisionFilter or a custom implementation of IPairFilterT can be used.