I was trying out some simulation with Rope (created by using btSoftBodyHelpers::CreateRope). While collision detection between Rope and btRigidBody(I have tried with boxes only) was fine, that with btSoftBody (softbody created by btSoftBodyHelpers::CreateEllipsoid) does not seems to work - the rope passes right through the soft body. The softbody has the same parameters as the one used in Volume conservation demo. I have tried reducing the mass or rope to 0.01, yet it does not work.
Can anyone elucidate me.
Thanks.
Rope and SoftBody
-
- Posts: 78
- Joined: Mon Nov 13, 2006 1:44 am
Re: Rope and SoftBody
You need to enable soft/soft collision detection (disable by default), so for each one of your soft bodies:
Collision handling between soft bodies are not especially well handled yet, (vertex/face only), so you may have to tessellate quit a bit to achieve nice results.
Hope it help,
Nathanael.
Code: Select all
mybody->m_cfg.collisions |= btSoftBody::fCollision::VF_SS;
Hope it help,
Nathanael.