This thread has no value, delete it. Issue doesn't really exist.
As I create two boxes overlaping, they just fall still overlaping. They can't get any nearer, as there are connection points created, but they are still overlaping...
So it looks like...

In this situation I cannot push one box more insede the second box - it's good.
But I want them to be pushed against themselves (only if they overlap in such way)
I tried some things but I cannot tell the difference between "normal" overlaping/touching and such big overlap as on the picture...
Has anyone any idea how to detect such overlap? (and distinguish it from normal collision?)
(BTW: I am using Java port of box2d - still it should behave like orginal box2d, I think... but if this issue doesnt exist in the original, then I'll ask in the Java section)
As I create two boxes overlaping, they just fall still overlaping. They can't get any nearer, as there are connection points created, but they are still overlaping...
So it looks like...

In this situation I cannot push one box more insede the second box - it's good.
But I want them to be pushed against themselves (only if they overlap in such way)
I tried some things but I cannot tell the difference between "normal" overlaping/touching and such big overlap as on the picture...
Has anyone any idea how to detect such overlap? (and distinguish it from normal collision?)
(BTW: I am using Java port of box2d - still it should behave like orginal box2d, I think... but if this issue doesnt exist in the original, then I'll ask in the Java section)