The broad-phase is used for computing pairs and performing volume queries and ray casts. This broad-phase does not persist pairs. Instead, this reports potentially new pairs. It is up to the client to consume the new pairs and to track subsequent overlap.

Implements

Constructors

Methods

  • Update the pairs. This results in pair callbacks. This can only add pairs.

    Parameters

    • callback: (userDataA: any, userDataB: any) => void

      Called for all new proxy pairs. param userDataA Proxy A in the pair user data. param userDataB Proxy B in the pair user data.

    Returns void

  • Validates the dynamic tree. NOTE: this says "todo" in the current Box2DFlash code.

    Returns void