From c2d6a1f0e8ce5e39b78da3155701ea8fd62b6f99 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 3 Jan 2025 17:23:26 -0500 Subject: [PATCH] Set gravity to 0. --- src/core.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core.rs b/src/core.rs index 3880a00..36d5edd 100644 --- a/src/core.rs +++ b/src/core.rs @@ -591,6 +591,7 @@ impl Plugin for CorePlugin { app.insert_resource(config) .register_type::() .add_plugins(PhysicsPlugins::default().with_length_unit(config.pixels_per_unit as f32)) + .insert_resource(Gravity(Vec2::ZERO)) .add_systems(Startup, setup) .add_systems(Update, sync_config); }