Perform contact sorting in the narrow-phase directly.

This commit is contained in:
Crozet Sébastien
2020-12-31 11:16:03 +01:00
parent 64507a68e1
commit 967145a949
21 changed files with 116 additions and 206 deletions

View File

@@ -118,13 +118,7 @@ impl PhysicsPipeline {
contact_pair_filter,
events,
);
narrow_phase.compute_intersections(
integration_parameters.prediction_distance,
bodies,
colliders,
proximity_pair_filter,
events,
);
narrow_phase.compute_intersections(bodies, colliders, proximity_pair_filter, events);
// println!("Compute contact time: {}", instant::now() - t);
self.counters.stages.island_construction_time.start();