|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.callbacks.ContactFilter
public class ContactFilter
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 | |
---|---|
ContactFilter()
|
Method Summary | |
---|---|
boolean |
shouldCollide(Fixture fixtureA,
Fixture fixtureB)
Return true if contact calculations should be performed between these two shapes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactFilter()
Method Detail |
---|
public boolean shouldCollide(Fixture fixtureA, Fixture fixtureB)
fixtureA
- fixtureB
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |