Brute force implementation of broad-phase collision detection. Time complexity is O(n^2).

Methods

Inherited Variables

Inherited Methods

Defined by BroadPhase

inlinegetProxyPairList():ProxyPair

Returns the linked list of collected pairs of proxies.

inlinegetTestCount():Int

Returns the number of broad-phase AABB tests.

inlineisIncremental():Bool

Returns whether to collect only pairs created in the last step. If this returns true, the pairs that are not collected might still be overlapping. Otherwise, such pairs are guaranteed to be separated.

inlineisOverlapping(proxy1:Proxy, proxy2:Proxy):Bool

Returns whether the pair of proxy1 and proxy2 is overlapping. As proxies can be larger than the containing AABBs, two proxies may overlap even though their inner AABBs are separate.