Method SetFilter
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
SetFilter(CollisionFilter, bool)
Sets the collision filtering rules.
public void SetFilter(CollisionFilter filter, bool recomputeContacts = true)Parameters
filterCollisionFilter-
The new rules.
recomputeContactsbool-
Whether every contact involving this shape is recomputed on the next step. This is expensive but is what you want if the change should take effect against shapes already touching it.