jakobhellermann / bevy-inspector-egui

Inspector plugin for the bevy game engine
Apache License 2.0
1.15k stars 169 forks source link

Make rapier Collider editable #83

Closed nicopap closed 1 year ago

nicopap commented 2 years ago

Currently, the rapier integration's Collider component handling is very limited. It only shows a subset of possible collider shapes, and doesn't allow editing (changing the component's value).

This PR enables editing the Collider component from bevy_rapier. This allows changing the collider shape and mutating fields of a subset of collider shapes.

Due to https://github.com/dimforge/bevy_rapier/issues/247, it requires some awkward handling of mutation.

jakobhellermann commented 1 year ago

Thanks!