You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two meshes, let's call them A and B, and I would like to use bullet to measure the minimal distance between any pair of of their vertices. Mesh A could theoretically be approximated by a few convex hulls, but mesh B cannot (it represents some fairly rough terrain).
So far, I've been looking at this pybullet example (though I'll be working in C++ for my actual implementation), and it seems very promising. My concern is that while the documentation assures me that I can load in static concave meshes, and p.getClosestPoints() happily accepts those concave meshes as inputs, I have not been thoroughly convinced that bullet isn't taking convex hulls in order to perform the distance calculation. More importantly, I've been looking through the C++ documentation, and I can't find any implementation of the getClosestPoints() interface that accepts concave shapes or tri-meshes. I'd appreciate any pointers or assurances about what's happening behind the scenes. Thanks!
This discussion was converted from issue #3226 on April 26, 2021 03:46.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have two meshes, let's call them A and B, and I would like to use bullet to measure the minimal distance between any pair of of their vertices. Mesh A could theoretically be approximated by a few convex hulls, but mesh B cannot (it represents some fairly rough terrain).
So far, I've been looking at this pybullet example (though I'll be working in C++ for my actual implementation), and it seems very promising. My concern is that while the documentation assures me that I can load in static concave meshes, and
p.getClosestPoints()
happily accepts those concave meshes as inputs, I have not been thoroughly convinced that bullet isn't taking convex hulls in order to perform the distance calculation. More importantly, I've been looking through the C++ documentation, and I can't find any implementation of thegetClosestPoints()
interface that accepts concave shapes or tri-meshes. I'd appreciate any pointers or assurances about what's happening behind the scenes. Thanks!Beta Was this translation helpful? Give feedback.
All reactions