Package org.jbox2d.callbacks
Class ContactFilter
- java.lang.Object
-
- org.jbox2d.callbacks.ContactFilter
-
public class ContactFilter extends java.lang.Object
Implement this class to provide collision filtering. In other words, you can implement this class if you want finer control over contact creation.
-
-
Constructor Summary
Constructors Constructor Description ContactFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldCollide(Fixture fixtureA, Fixture fixtureB)
Return true if contact calculations should be performed between these two shapes.
-