Hello,
I implemented b2ContactListener to catch begin and end contact events. It works fine but I get an unexpected end-contact in the following simple scenario.
1. I create two dynamic bodies (bodyA and bodyB).
2. bodyA touches bodyB. I get a begin contact (ok).
3. I create a revolute joint to "attach" to bodyA and bodyB
4. I get an end-contact in spite of bodyA still overlapping bodyB...
Why am I getting this end-contact? and how can I know when bodyA and bodyB actually cease to overlap?
Thank you in advance for you help.
Regards, Laurent
I implemented b2ContactListener to catch begin and end contact events. It works fine but I get an unexpected end-contact in the following simple scenario.
1. I create two dynamic bodies (bodyA and bodyB).
2. bodyA touches bodyB. I get a begin contact (ok).
3. I create a revolute joint to "attach" to bodyA and bodyB
4. I get an end-contact in spite of bodyA still overlapping bodyB...
Why am I getting this end-contact? and how can I know when bodyA and bodyB actually cease to overlap?
Thank you in advance for you help.
Regards, Laurent