Hi,
The following screenshot shows several dynamic bodies (balls) falling on static ones (walls).

jbox2D-incorrent_collision_detection.png [ 10.75 KiB | Viewed 488 times ]
Except for the for one, all of the balls penetrate into the walls. My first attempt was to set the balls as bullets (Body.setBullet(true)). The second one was to enable continuous physics (World.setContinuousPhysics(true)). None of the attempts solve the problem.
I did it based on the documentation, wiki and this thread.
I should say the walls are made by combining several shapes. The wall that isn't penetrated is made of "large" squares, while the others are made of small and thin rectangles and L shapes. It seems that the thin bodies are at fault, but the wall labeled A is larger and is penetrated (but still made of thin shapes).
I'd appreciate any clarification/solution. Just ask if you need more information.
Thank you.
The following screenshot shows several dynamic bodies (balls) falling on static ones (walls).
Attachment:
jbox2D-incorrent_collision_detection.png [ 10.75 KiB | Viewed 488 times ]
Except for the for one, all of the balls penetrate into the walls. My first attempt was to set the balls as bullets (Body.setBullet(true)). The second one was to enable continuous physics (World.setContinuousPhysics(true)). None of the attempts solve the problem.
I did it based on the documentation, wiki and this thread.
I should say the walls are made by combining several shapes. The wall that isn't penetrated is made of "large" squares, while the others are made of small and thin rectangles and L shapes. It seems that the thin bodies are at fault, but the wall labeled A is larger and is penetrated (but still made of thin shapes).
I'd appreciate any clarification/solution. Just ask if you need more information.
Thank you.