Hey there.
I'm digging around for a way to cache the btSoftBody::Link s that are in contact with a ghost object sphere.
Currently I cache triangles with a rigid btBVHTriangleMesh. I do this by querying the mesh with the sphere's AABB and using btTriangleBuffer to store the nearby triangles.
Is there something remotely similar for softbody constructs?
I'm thinking that the quick and dirty way of doing this is to execute a rayTest between the sphere and each ::Link in my btSoftBody, but I get the feeling I'm missing out on some bullet magic.
Any suggestions?