dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.89k stars 242 forks source link

Debug renderer: indicate disabled rigidbodies and colliders #489

Closed Alainx277 closed 8 months ago

Alainx277 commented 1 year ago

The debug renderer changes the color when an object is sleeping, but not when it is disabled.

Showing a disabled collider like normal can be confusing when nothing interacts with it. I was stuck debugging collider groups instead of why it was incorrectly disabled.