Add non-topological WQuadtree update.

This commit is contained in:
Crozet Sébastien
2020-09-22 15:29:29 +02:00
parent 56f6051b04
commit a7d77a0144
5 changed files with 151 additions and 25 deletions

View File

@@ -675,6 +675,10 @@ impl Testbed {
&self.event_handler,
);
self.physics
.query_pipeline
.update(&self.physics.bodies, &self.physics.colliders);
#[cfg(feature = "fluids")]
{
fluids_time = instant::now();
@@ -1466,6 +1470,10 @@ impl State for Testbed {
&self.event_handler,
);
self.physics
.query_pipeline
.update(&self.physics.bodies, &self.physics.colliders);
#[cfg(feature = "fluids")]
{
fluids_time = instant::now();