var listener = new Box2D.Dynamics.b2ContactListener; listener.BeginContact = function(contact) { // console.log(contact.GetFixtureA().GetBody().GetUserData()); } listener.EndContact = function(contact) { // console.log(contact.GetFixtureA().GetBody().GetUserData()); } listener.PostSolve = function(contact, impulse) { } listener.PreSolve = function(contact, oldManifold) { } this.world.SetContactLis
{{#tags}}- {{label}}
{{/tags}}