Variable maxDepth

maxDepth: number = 4

The maximum number of levels that the quadtree will create.

maxDepth

collision

4

game.world.broadphase