From c6b8d21c54b91aed227ba49a84e600d93df33df9 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 29 Mar 2024 16:39:37 +0100 Subject: [PATCH] disable downward gravity.... =D --- src/world.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/world.rs b/src/world.rs index 29bc324..7946397 100644 --- a/src/world.rs +++ b/src/world.rs @@ -43,6 +43,7 @@ impl Plugin for WorldPlugin { //app.add_systems(Update, swap_world_on_ar_toggle); app.add_plugins(PhysicsPlugins::default()); app.insert_resource(ClearColor(Color::rgb(0.0, 0.0, 0.0))); + app.insert_resource(Gravity(Vec3::splat(0.0))); } }