SoftBody collision inaccuracies
Posted: Mon Jun 12, 2017 11:36 pm
I'm having trouble with SoftBody collisions.
I have a ground plane (btStaticPlane) and some cloths (btSoftBody, 10x10 vertex planes) that fall onto the ground plane.
When my simulation steps are .0333f (30 steps per second) the falling cloth objects easily penetrate the ground and don't collide with it. When I increase my steps 10x (.00333f) they'll collide with it, but some of them will land, settle for a moment, and then just fall through.
Even when I set my steps to 100x normal (.000333f) I get certain cloths that easily penetrate the ground. This is both with/without a large collision margin.
I tried enabled CCD on my cloth but setting sweep threshold/radius seemed to have no effect.
I've tried setting solver piterations very high (250!) and still get the same issues.
Am I missing something or are cloth collisions totally unreliable? The effects I'm seeing basically make SoftBodies completely useless in realistic offline simulations...
I have a ground plane (btStaticPlane) and some cloths (btSoftBody, 10x10 vertex planes) that fall onto the ground plane.
When my simulation steps are .0333f (30 steps per second) the falling cloth objects easily penetrate the ground and don't collide with it. When I increase my steps 10x (.00333f) they'll collide with it, but some of them will land, settle for a moment, and then just fall through.
Even when I set my steps to 100x normal (.000333f) I get certain cloths that easily penetrate the ground. This is both with/without a large collision margin.
I tried enabled CCD on my cloth but setting sweep threshold/radius seemed to have no effect.
I've tried setting solver piterations very high (250!) and still get the same issues.
Am I missing something or are cloth collisions totally unreliable? The effects I'm seeing basically make SoftBodies completely useless in realistic offline simulations...