experimentally, use variable timing for physics calculations
This commit is contained in:
parent
93ba829e59
commit
c3343b1667
|
@ -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::<RespawnEvent>();
|
||||
|
|
Loading…
Reference in a new issue