BroadPhaseCollisionDetector

Interface for detecting broad-phase collisions in a physics simulation.

The broad-phase collision detector is responsible for identifying potential overlapping pairs of bodies in a physics simulation. It typically uses efficient spatial partitioning or bounding volume techniques to narrow down the list of potential collisions from a large number of bodies.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun findOverlappingPairs(bodies: List<Body>): List<Pair<Int, Int>>