Class ContactManager

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

public class ContactManager extends java.lang.Object implements PairCallback
Delegate of World.
  • Field Details

    • m_broadPhase

      public BroadPhase m_broadPhase
    • m_contactList

      public Contact m_contactList
    • m_contactCount

      public int m_contactCount
    • m_contactFilter

      public ContactFilter m_contactFilter
    • m_contactListener

      public ContactListener m_contactListener
    • pool

      private final World pool
  • Constructor Details

  • Method Details

    • addPair

      public void addPair(java.lang.Object proxyUserDataA, java.lang.Object proxyUserDataB)
      Broad-phase callback.
      Specified by:
      addPair in interface PairCallback
      Parameters:
      proxyUserDataA -
      proxyUserDataB -
    • 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.