Table of Contents

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

filter CollisionFilter

The new rules.

recomputeContacts bool

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.