bevy_rapier icon indicating copy to clipboard operation
bevy_rapier copied to clipboard

Per entity/collider debug rendering

Open barsoosayque opened this issue 2 years ago • 5 comments

I needed a way to toggle debug rendering of colliders for group of entities in my project, so I thought of implementing it kind of like bevy Wireframe works, with global flag in resource, and if it's off, then per entity with marker component. I also considered just using Visibility for collider entities, but that's seems unintuitive.

~Oh, I also fixed RapierDebugRenderPlugin::enabled not being used, I'm not sure if creating context with enabled: true was intentional or just a typo.~ (fixed in recent master)

barsoosayque avatar Nov 15 '22 11:11 barsoosayque