Weird Bug: Impulses get transferred to other objects

If you set up a ground rectangle, place a circle on the ground, create a box above the ground (but not above the circle);
when the box drops the contact listener will show that the box impacts the ground ->correct;
BUT the contact listener then tell you that the ground impacts the circle!
Its like the box created an earthquake on the ground that caused an impulse to transfer into the circle.

wtf??

If this is for some reason planned behavior, I need a workaround. I need to know when the circle is actually hitting the ground.

Code attached.

I am using Box2d Flash V2.1, the latest version as far as I can tell.
The object order in callbacks is arbitrary. You should use user data to identify your objects.
Seems like he is actually checking the user data. I wonder if it's issue 189, which has been fixed.
I don't think it is issue 189,

I tried doing groundbody.SetAwake(false)




Earthquake bug still unresolved, someone please help.
Erin Catto wrote:
The object order in callbacks is arbitrary. You should use user data to identify your objects.


I'm not sure you understand the problem.

The square object falls on the ground body, which causes an impulse to get transferred from the ground to any other objects touching the groundbody.

Good if you want to simulate an earthquake.
Bad for my game.
I think I just came up with a workaround...


In my impulse processor, I can check both bodies LinearVelocity, if both = 0, then I should ignore the impulse.

Original thread: https://box2d.org/forum/viewtopic.php?t=7522