Make the 2D add-remove demo more intereting.

This commit is contained in:
Sébastien Crozet
2021-09-12 09:58:47 +02:00
committed by Sébastien Crozet
parent 5e133aac92
commit d858ae4c4e
5 changed files with 47 additions and 40 deletions

View File

@@ -124,6 +124,7 @@ impl Harness {
self.physics.broad_phase = BroadPhase::new();
self.physics.narrow_phase = NarrowPhase::new();
self.state.timestep_id = 0;
self.state.time = 0.0;
self.physics.ccd_solver = CCDSolver::new();
self.physics.query_pipeline = QueryPipeline::new();
self.physics.pipeline = PhysicsPipeline::new();