| Parameter | Description |
|---|---|
| categories | A PhysicsMask defining the categories this object is in. |
| contacts | A PhysicsMask defining the categories this object will produce contacts with. |
| groupIndex | The group index this filter belongs to. How this is used is determined by ContactFilterGroupMode. |
Create a contact filter. See ContactFilterMode.