jakobhellermann / bevy-inspector-egui

Inspector plugin for the bevy game engine
Apache License 2.0
1.19k stars 173 forks source link

Rapier integration broken? #59

Closed SUPERCILEX closed 2 years ago

SUPERCILEX commented 2 years ago

It seems like the integration needs to be updated for rapier 0.13. Also, how are you supposed to run the example? The crate was commented out of the cargo workspace.

jakobhellermann commented 2 years ago

I updated the integration yesterday, I just pushed the changes. One disadvantage of the new rapier structure is that not every component is always present on an entity, so they are less discoverable and aren't shown in the inspector unless explicitly added.

I considered adding a feature to bevy-inspector-egui where you can specify that if an entity contains some specific components (like RigidBody or Collider) then it will display a dropdown of relevant components you might want to add, but that's not worth blocking a release for.

jakobhellermann commented 2 years ago

Released the new version, bevy-inspector-egui-rapier 0.3

SUPERCILEX commented 2 years ago

It works, thanks!