Collision detection (box2d)

Monkey Forums/Monkey Beginners/Collision detection (box2d)

ombinar(Posted 2014) [#1]
Hello,

This seems simple but not getting it. Basically I need to track which object (box2d) is touching which object. If they touch I want to print BoxA is touching BoxB.

Thanks.


ombinar(Posted 2014) [#2]
Oops I found a sample of what I'm looking for... thanks.


Volker(Posted 2014) [#3]
"Contactlistener" is the magic word.
More here:
http://www.monkey-x.com/Community/posts.php?topic=1764


ombinar(Posted 2014) [#4]
Thanks!