9 years ago by haiguyzcaniplay
Hey guys, I am having trouble detecting when an entity collides with a wall. Normally, I would use handlemovement trace but that does not work in Box2d. Any tips?
This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
for (var edge = this.body.m_contactList; edge; edge = edge.next) { if (!edge.contact.IsTouching()) { continue; } console.log("Just collided with something!"); }