diff --git a/src/world.rs b/src/world.rs index 6ef0144..d0530ab 100644 --- a/src/world.rs +++ b/src/world.rs @@ -51,6 +51,7 @@ impl Plugin for WorldPlugin { ); app.add_plugins(PhysicsPlugins::default()); //app.add_plugins(PhysicsDebugPlugin::default()); + app.insert_resource(Time::new_with(Physics::variable(1.0 / 30.0))); app.insert_resource(Gravity(DVec3::splat(0.0))); app.insert_resource(ActiveAsteroids(HashMap::new())); app.add_event::();