[question] Does DART support ray collisions? #1803
-
Hi, I'm interested in confirming if DART supports ray collisions. I could not find any mention in the DART documentation, just a few documentation code snippets at OdeCollisionDetector.hpp and CollisionDetector.cpp. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Yes, DART does support ray collisions via the Bullet backend. You may find the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply, @jslee02. My question was related to the missing ray collision feature in gz-sim, where DART is the default physics engine. There is an open issue for that. Do you have any recommendations for using the Bullet backend in Alternatively, can we use |
Beta Was this translation helpful? Give feedback.
-
I haven't followed the recent changes in gz-sim recently, but it appears that the Bullet backend in gazebo-physics is already supported, which can be configured through SDF (<collision_detector>). I would recommend to consult with the Gazebo community for a more precise answer or support because I might have incorrect or outdated information. Using |
Beta Was this translation helpful? Give feedback.
I haven't followed the recent changes in gz-sim recently, but it appears that the Bullet backend in gazebo-physics is already supported, which can be configured through SDF (<collision_detector>). I would recommend to consult with the Gazebo community for a more precise answer or support because I might have incorrect or outdated information.
Using
ConeShape
or any other suitable collision shape (with appropriate dimensions) that meets your requirements makes sense to me. FYI,ConeShape
is currently only supported by the Bullet and ODE backends in DART.