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); }