Class ContactManager

java.lang.Object
org.jbox2d.dynamics.ContactManager
All Implemented Interfaces:
PairCallback

public class ContactManager extends Object implements PairCallback
Delegate of World.
Author:
Daniel Murphy
  • Field Details

    • broadPhase

      public BroadPhase broadPhase
    • contactList

      public Contact contactList
    • contactCount

      public int contactCount
    • contactFilter

      public ContactFilter contactFilter
    • contactListener

      public ContactListener contactListener
  • Constructor Details

    • ContactManager

      public ContactManager(World argPool, BroadPhase broadPhase)
  • Method Details

    • addPair

      public void addPair(Object proxyUserDataA, Object proxyUserDataB)
      Broad-phase callback.
      Specified by:
      addPair in interface PairCallback
    • findNewContacts

      public void findNewContacts()
    • destroy

      public void destroy(Contact c)
    • collide

      public void collide()
      This is the top level collision call for the time step. Here all the narrow phase collision is processed for the world contact list.