From 1a05b03c1ba0cda126994764fabd7c0c65797c7b Mon Sep 17 00:00:00 2001 From: extrawurst Date: Sat, 8 Mar 2025 21:59:39 +0100 Subject: [PATCH] snippet to enable wireframe --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.rs b/src/main.rs index 199efac..3d6abc3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,6 +46,12 @@ fn main() { 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(PhysicsDebugPlugin::default()); app.add_plugins((