Class ContactManager

  • All Implemented Interfaces:
    PairCallback

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

      • m_contactList

        public Contact m_contactList
      • m_contactCount

        public int m_contactCount
      • pool

        private final World pool
    • Method Detail

      • 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.