Box2dweb - Collision Contact Point
问题 I use box2dweb. I am trying to develop a game. At some point I need to find out the contact point between a "Circle" and "Box". All I know is it can be done using b2ContactListener. We can receive contact data by implementing b2ContactListener using Post-Solve Event. Please help! 回答1: You are on the right track there are various events you can hook into with the b2ContactListener: var b2Listener = Box2D.Dynamics.b2ContactListener; //Add listeners for contact var listener = new b2Listener;