Page 1 of 1

Softbody and sweeptest (convexSweepTest)

Posted: Tue Sep 19, 2017 7:00 pm
by B1TZ3R0
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:

Code: Select all

if (collisionShape->isConvex())
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?