Safety margin added to tight collider bounds to create the fattened AABB shell.
Number of colliders that moved outside their fat bounds and were re-inserted.
Number of colliders that skipped spatial re-sorting in the last update frame.
Lookahead factor to expand fat AABB along current velocity vector.
Returns uninserted colliders that fall back to brute-force checking.
Returns the internal proxy map for diagnostic inspection.
Returns the underlying Octree structure, if initialized.
Clears all cached proxies, fallback colliders, and resets the spatial tree.
Queries the broadphase Octree and fallback list for colliders intersecting the given mathematical ray.
Target ray.
Array receiving the potential collider candidates.
Optional 32-bit collision layer mask to filter candidates (default: 0xFFFFFFFF).
Queries the broadphase Octree and fallback list for colliders intersecting the given volume.
Target bounding volume.
Array receiving the potential collider candidates.
Optional 32-bit collision layer mask to filter candidates (default: 0xFFFFFFFF).
Re-inserts a collider whose position changed outside the normal update cycle (e.g. a body
whose position was clamped by CCD after update() already placed it). Recomputes the fat
shell from the current tight bounds and places the collider at its new octree node, so
subsequent queries around the body's actual position cannot miss it.
The collider to re-insert.
Rebuilds or incrementally updates the Octree broadphase structure with temporal coherence. Colliders that stay within their fattened bounding shell skip tree removal/reinsertion.
Array of all collidable entities.
StaticcanTests whether two collidable entities can physically interact or trigger events based on their collision layers & masks.
The first collidable entity.
The second collidable entity.
True if both layer/mask pairs overlap.
Manages the spatial acceleration structure (Octree) with temporal coherence and fattened AABBs. Objects that remain within their fattened bounding shell skip expensive spatial re-sorting.