Query pipeline: aggressive workaround until we properly support collider addition/removal.
This commit is contained in:
@@ -33,7 +33,7 @@ impl QueryPipeline {
|
|||||||
if !self.tree_built {
|
if !self.tree_built {
|
||||||
self.quadtree
|
self.quadtree
|
||||||
.clear_and_rebuild(colliders, self.dilation_factor);
|
.clear_and_rebuild(colliders, self.dilation_factor);
|
||||||
self.tree_built = true;
|
// self.tree_built = true; // FIXME: uncomment this once we handle insertion/removals properly.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user