Allow the PhysicsPipeline and CollisionPipeline to update the QueryPipeline incrementally

This commit is contained in:
Sébastien Crozet
2022-11-26 17:45:14 +01:00
parent 46d976d97b
commit 683baf6bf7
12 changed files with 212 additions and 97 deletions

View File

@@ -123,7 +123,6 @@ impl CCDSolver {
) -> Option<Real> {
// Update the query pipeline.
self.query_pipeline.update_with_mode(
islands,
bodies,
colliders,
QueryPipelineMode::SweepTestWithPredictedPosition { dt },
@@ -245,7 +244,6 @@ impl CCDSolver {
// Update the query pipeline.
self.query_pipeline.update_with_mode(
islands,
bodies,
colliders,
QueryPipelineMode::SweepTestWithNextPosition,