how do i check for contacts in 2.1a ?

how do i check for contacts in 2.1a ?
thanks
It's similar to before: You extend b2ContactListener, and set it to the world with myWorld.SetContactListener. It'll then be called appropriately.

The actual events raised are different. See
http://box2dflash.boristhebrave.com/doc ... tener.html
for documentation on the meaning of each of them.

You may also use b2Body.GetContactList to explore contacts statically, however they are usually a frame out of date.

Original thread: https://box2d.org/forum/viewtopic.php?t=4448