snippet to enable wireframe

This commit is contained in:
2025-03-08 21:59:39 +01:00
parent ee99803521
commit 1a05b03c1b

View File

@@ -46,6 +46,12 @@ fn main() {
default_sampler: repeating_image_sampler(false), default_sampler: repeating_image_sampler(false),
})); }));
// app.add_plugins(bevy::pbr::wireframe::WireframePlugin)
// .insert_resource(bevy::pbr::wireframe::WireframeConfig {
// global: true,
// default_color: bevy::color::palettes::css::WHITE.into(),
// });
app.add_plugins(PhysicsPlugins::default()); app.add_plugins(PhysicsPlugins::default());
// app.add_plugins(PhysicsDebugPlugin::default()); // app.add_plugins(PhysicsDebugPlugin::default());
app.add_plugins(( app.add_plugins((