disable downward gravity.... =D

This commit is contained in:
yuni 2024-03-29 16:39:37 +01:00
parent 25db91f39e
commit c6b8d21c54

View file

@ -43,6 +43,7 @@ impl Plugin for WorldPlugin {
//app.add_systems(Update, swap_world_on_ar_toggle); //app.add_systems(Update, swap_world_on_ar_toggle);
app.add_plugins(PhysicsPlugins::default()); app.add_plugins(PhysicsPlugins::default());
app.insert_resource(ClearColor(Color::rgb(0.0, 0.0, 0.0))); app.insert_resource(ClearColor(Color::rgb(0.0, 0.0, 0.0)));
app.insert_resource(Gravity(Vec3::splat(0.0)));
} }
} }