Softbody and sweeptest (convexSweepTest)
Posted: Tue Sep 19, 2017 7:00 pm
I need to perform a sweep test (using a sphere shape) against a softbody to get a particular Node index in the shape.
I did it but I've noticed that my function works only for rigidbody and doesn't work for softbody.
During the debugging phase I discovered that code in btCollisionWorld.cpp line 607:
This if statement prevent the collision against my softbody.
So my question is that is possible to perform the sweep test against a soft body? if not how can I take a particular node index where I have to set a Joint or Mass = 0?
I did it but I've noticed that my function works only for rigidbody and doesn't work for softbody.
During the debugging phase I discovered that code in btCollisionWorld.cpp line 607:
Code: Select all
if (collisionShape->isConvex())
So my question is that is possible to perform the sweep test against a soft body? if not how can I take a particular node index where I have to set a Joint or Mass = 0?