I'm using b2ContactListener to trigger collision callbacks in my game.
I am noticing that sometimes, even though 2 things are colliding and a physical collision response actually happens (they bounce of off each other), it never makes it into the ContactListener::Add() function.
I have been using collisions for a couple of months now, and only noticed this problem recently where it is "dropping" collisions. I tried turning off collision filters, and switching between circular collision bounds versus rectangular bounds, but it still happens where sometimes the contact listener doesn't report the collision.
Anyone have any idea what might be causing this?
Thank you!
-EJ
I am noticing that sometimes, even though 2 things are colliding and a physical collision response actually happens (they bounce of off each other), it never makes it into the ContactListener::Add() function.
I have been using collisions for a couple of months now, and only noticed this problem recently where it is "dropping" collisions. I tried turning off collision filters, and switching between circular collision bounds versus rectangular bounds, but it still happens where sometimes the contact listener doesn't report the collision.
Anyone have any idea what might be causing this?
Thank you!
-EJ