Class b2ContactFilter
Decides whether two fixtures may collide; the default reads their b2Filters.
public class b2ContactFilter
- Inheritance
-
b2ContactFilter
- Inherited Members
- Extension Methods
Methods
ShouldCollide(b2Fixture, b2Fixture)
Box2D's default filter: fixtures of the same non-zero group always (positive) or never (negative) collide; otherwise each one's mask must accept the other's category.
public virtual bool ShouldCollide(b2Fixture fixtureA, b2Fixture fixtureB)
Parameters
Returns
- bool
True when contact calculations should be performed between these two fixtures.