RigidBody passing throught SoftBody

OSasuke
Posts: 47
Joined: Tue Dec 09, 2008 10:12 am

RigidBody passing throught SoftBody

Post by OSasuke »

Hello,

I am facing a problem with the softbody-rigidbody collision. When the rigidbody is moving with a very low speed, all works great. But when the rigidbody gets more speed it passes throught the softbody.

In my application i create a Patch and shoot it with a sphere. So is there anyway to solve this.

Thanks.
User avatar
dphil
Posts: 237
Joined: Tue Jun 29, 2010 10:27 pm

Re: RigidBody passing throught SoftBody

Post by dphil »

This is probably because at high speeds the force of impact with the soft body nodes is enough to push them apart so that the rigid body slips through the gaps. You could try increasing the link stiffness. There may be other ways to reduce/avoid rigid body penetration too, though I only have limited experience using soft bodies.
OSasuke
Posts: 47
Joined: Tue Dec 09, 2008 10:12 am

Re: RigidBody passing throught SoftBody

Post by OSasuke »

I also tried using clusters, it reduced the penetration but at a speed of 60 to 80 kmh it will pass through the softbody patch. Is there anyway to make the softbody nodes stronger ? And what if we make the softbody more elastic ? Can you give me the complete configuration of the softbody !
OSasuke
Posts: 47
Joined: Tue Dec 09, 2008 10:12 am

Re: RigidBody passing throught SoftBody

Post by OSasuke »

Up :(
User avatar
dphil
Posts: 237
Joined: Tue Jun 29, 2010 10:27 pm

Re: RigidBody passing throught SoftBody

Post by dphil »

Sorry, I don't know much more about soft bodies to help out with your specific case, though I can point you to a file I uploaded a while back with a collection of info I found on various soft body properties, in case it helps you:
http://bulletphysics.org/Bullet/phpBB3/ ... 280#p24280
OSasuke
Posts: 47
Joined: Tue Dec 09, 2008 10:12 am

Re: RigidBody passing throught SoftBody

Post by OSasuke »

Thanks, very helpful
OSasuke
Posts: 47
Joined: Tue Dec 09, 2008 10:12 am

Re: RigidBody passing throught SoftBody

Post by OSasuke »

So, by increasing the piterations and the collision shape margin, the ball no longer pass through the soft, but every time the speed increase we also have to increase the piteration and/or the margin, but by increasing the piterations the application become slower.

So if there's any other solution, talk me about it.
Is there other btSoftBodyRigidBodyCollisionConfiguration ?