Optional: to actually have the collisions decomposed on the physics side, you'll need these PRs. This is not required to see the collision visualizations.
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.
🎉 New feature
Replaces #2331
Related gz-physics PR: https://github.com/gazebosim/gz-physics/pull/611
Summary
Extends VisualizationCapabilities gui plugin to support visualizing mesh collisions with convex decomposition.
if a mesh collision has the new attribute, the plugin will decompose the meshes on the GUI side before visualizing them.
Test it
Here's a Cordless Drill Simplified model on fuel and a cordless_drill.sdf world for testing. This model uses convex decomposition on the collision mesh.
Optional: to actually have the collisions decomposed on the physics side, you'll need these PRs. This is not required to see the collision visualizations.
Then launch gz-sim with
bullet-featherstone
plugin:Right click on the drill model and view collisions:
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.