Two dynamic bodies penetration

Hi,

I make a physics puzzle and faced the following problem: my soft bodies penetrate another dynamic bodies when moving on low speed in the same direction. It is not tunneling in usual meaning, cause speed is low and fps=60. It happens only with dynamic bodies and only when soft body and board are moving in the ~same direction. Here's a video sample: http://madfatcat.com/0/bug.mov

Soft body consists of several circles connected by b2RevoluteJoints. Can someone help me with this issue?
How are the soft bodies being moved? How do you make them springy?
Soft bodies consist of usual circles (b2CircleShape), these circles take part in the simulation like other bodies, I don't move them programmatically. To make soft body inflated (springy) a force is applied each step to each of its circles. The vector of this force is a perpendicular to the neighboring circles.
That looks cool!
Have you tried making one of the bodies a bullet body?
Instead of the force, try applying equal and opposite torques based on the joint angle multiplied by some stiffness value.
Erin Catto wrote:
Instead of the force, try applying equal and opposite torques based on the joint angle multiplied by some stiffness value.


Thanks Erin, but it seems that the force doesn't matter as well as torque. I have the same bug without applying any force, please take a look at it: http://madfatcat.com/0/bug2.mov . Usual chains of circles go through another dynamic body. These circles are connected with b2RevoluteJoints. Bullet mode doesn't help. I'm trying to create a game for iOS using box2d+cocos2d. Any suggestions?
Do all your shapes have the same density? How many iterations are you using?

You could try running b2World::Dump to create a text file of your world that I can run. (zip and attach).
I don't know what version of Box2D is used in cocos2d v.1.0.1, but there's no Dump() method in b2World class.
I've created an empty cocos2d+box2d xcode4 project to illustrate this bug: http://madfatcat.com/0/bugTest.zip
And the bug video: http://madfatcat.com/0/bug3.mov
I simply shoot by a bunch of circles (10 circles per shot) into a board. No additional forces, no constraints, 60 steps per second.
All circles and board have 1.0f density.

If you can provide me with a quick solution that will be much appreciated! Thanks!
Seems to be fixed with latest version of Box2D. project here
Thanks for checking that iforce.

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