#bevy #inspector #rapier #physics

bevy-inspector-egui-rapier

bevy-inspector-egui integration for rapier

6 releases (breaking)

Uses new Rust 2021

0.6.0 Sep 19, 2022
0.5.0 Aug 2, 2022
0.4.0 Jun 6, 2022
0.3.0 May 8, 2022
0.1.1 Mar 19, 2022

#789 in Game dev

Download history 26/week @ 2022-06-11 23/week @ 2022-06-18 32/week @ 2022-06-25 35/week @ 2022-07-02 31/week @ 2022-07-09 17/week @ 2022-07-16 27/week @ 2022-07-23 83/week @ 2022-07-30 94/week @ 2022-08-06 44/week @ 2022-08-13 65/week @ 2022-08-20 97/week @ 2022-08-27 45/week @ 2022-09-03 60/week @ 2022-09-10 93/week @ 2022-09-17 73/week @ 2022-09-24

276 downloads per month

MIT license

340KB
4.5K SLoC

bevy-inspector-egui-rapier

[dependencies]
bevy-inspector-egui = "0.11"
bevy-inspector-egui-rapier = { version = "0.3", features = ["rapier3d"] }
use bevy::prelude::*;
use bevy_inspector_egui::WorldInspectorPlugin;
use bevy_inspector_egui_rapier::InspectableRapierPlugin;
use bevy_rapier3d::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugin(RapierDebugRenderPlugin)
        .add_plugin(RapierPhysicsPlugin::<NoUserData>::default())
        .add_plugin(InspectableRapierPlugin) // <--- register the inspectable UI functions for rapier types
        .add_plugin(WorldInspectorPlugin)
        .run();
}

Bevy support table

bevy bevy-inspector-egui bevy-inspector-egui-rapier bevy_rapier
0.8 0.12 0.5 0.16
0.7 0.11 0.4 0.14
0.7 0.11 0.3 0.13
0.7 0.10 0.2 0.12
0.6 0.9 0.1 0.12

Dependencies

~21–33MB
~667K SLoC