Replies: 3 comments 3 replies
-
This is not implemented at the moment. We would need to provide some way get surface points on one SDF against the other. I suspect there won't be anyone working on this, so contributions are welcome. |
Beta Was this translation helpful? Give feedback.
-
I know nothing about the feature (in fact, I didn't know Bullet even offered signed distance field objects until I came across this issue), but wouldn't something like checking for the intersection of the two signed distance fields be simple enough, something like just computing the min between the two of them and sampling over the regions within them that might intersect (based on a bounding box or convex hull or something)? As I said, though, I'm not familiar with the feature at all, and I don't know if that approach would be suitable for per-step calculations nor whether it would be amenable to some sort of up-front cacheable calculation like finding surface points could be. |
Beta Was this translation helpful? Give feedback.
-
Are there any updates on this feature? I'm trying to simulate several dynamic objects defined by concave meshes. Unfortunately, the standard VHACD collision shape is too coarse grained for my application. Using the original C++ VHACD implementation results in more fine grained collision shapes. But these shapes extremely slow down the PyBullet simulation. I hoped to avoid the shortcomings of VHACD by using SDF. Otherwise, I'm forced to use another simulator that has this feature. |
Beta Was this translation helpful? Give feedback.
-
Hi,
The signed-distance-field feature seems great, I have tried to use it and got some problems on the way. Collision between a static mesh using CDF and non-static meshes using VHACD as collision shape works well (as in the example with duck, spheres and a concave box).
However it seems that collision between two meshes using CDF is not handled . Here is a simple piece of code reproducing the error using the
concave_box.urdf
file and setting the mass to 1 :The top
concave_box
just go through the fixed one and no collisions occur.Beta Was this translation helpful? Give feedback.
All reactions