Set gravity to 0.
This commit is contained in:
parent
380506b75c
commit
c2d6a1f0e8
|
@ -591,6 +591,7 @@ impl Plugin for CorePlugin {
|
|||
app.insert_resource(config)
|
||||
.register_type::<CardinalDirection>()
|
||||
.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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user