Skip to content

Draw physics colliders with DebugDraw - #402

Merged
bdero merged 2 commits into
masterfrom
bdero/collider-debug-draw
Sep 14, 2026
Merged

bdero merged 2 commits into
masterfrom
bdero/collider-debug-draw

Conversation

@bdero

@bdero bdero commented Sep 12, 2026

Copy link
Copy Markdown
Owner

DebugDraw.colliders wireframes every collider in a node subtree at the pose the simulation uses, and DebugDraw.shape draws a single posed Shape. Triggers take their own color, so a sensor volume is not mistaken for a solid one.

Spheres, boxes, capsules, cylinders, trimeshes, and compounds all draw. A convex hull marks its input points, since the hull topology belongs to the backend, and a heightfield carries a TODO. The physics example gets a header button that toggles the wireframes over the playground.

@bdero bdero added feature proposal New feature or request rendering Behavior when preparing or drawing geometry to the screen. labels Sep 12, 2026
DebugDraw.colliders wireframes every collider in a node subtree at the
pose the simulation uses, and DebugDraw.shape draws a single posed Shape.
Triggers take their own color.
A header button draws every collider in the playground, rebuilt each
frame from the poses the simulation settled on.
@bdero
bdero force-pushed the bdero/collider-debug-draw branch from aa08d54 to f45e1ee Compare September 12, 2026 00:55
@argos-ci

argos-ci Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
android_gles (Inspect) ✅ No changes detected - Sep 12, 2026, 1:15 AM
android_vulkan (Inspect) ✅ No changes detected - Sep 12, 2026, 1:17 AM
linux (Inspect) 👍 Approved by bdero 1 changed Sep 12, 2026, 1:05 AM
web (Inspect) ✅ No changes detected - Sep 12, 2026, 1:09 AM
windows (Inspect) ✅ No changes detected - Sep 12, 2026, 1:17 AM

@bdero
bdero merged commit 9c6caf7 into master Sep 14, 2026
20 checks passed
@bdero
bdero deleted the bdero/collider-debug-draw branch September 14, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature proposal New feature or request rendering Behavior when preparing or drawing geometry to the screen.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant