Conditionals inside Colisions

how to do it? it's like, if node "X" hits node "Y", do normal colision stuff + "X+Y colision method", however if X colides with Z then do normal colision stuff. Aparently there is no "On Colide" method that i can override with a subclass, so im clueless on how to do it. any hints?

ContactCallback might be what you are looking for.

i can't seem to get any info from those Contact Callbacks that i manage to get from space.getContactCallbacks()



any code sample?

Sure! http://code.google.com/p/jmephysics/source/browse/trunk/test-interactive/com/jmetest/physics/TestContactCallback.java

woot, thx a lot!