Softbody and sweeptest (convexSweepTest)

Post Reply
Posts: 13
Joined: Wed May 24, 2017 11:13 am

Softbody and sweeptest (convexSweepTest)

Post by B1TZ3R0 » 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:

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?

Post Reply