Module org.dyn4j

Class ContactAdapter

    • Constructor Detail

      • ContactAdapter

        public ContactAdapter()
        Deprecated.
    • Method Detail

      • begin

        public boolean begin​(ContactPoint point)
        Deprecated.
        Description copied from interface: ContactListener
        Called when two BodyFixtures begin to overlap, generating a contact point.
        Specified by:
        begin in interface ContactListener
        Parameters:
        point - the contact point that was added
        Returns:
        boolean true if the contact should remain enabled
      • preSolve

        public boolean preSolve​(ContactPoint point)
        Deprecated.
        Description copied from interface: ContactListener
        Called before contact constraints are solved.
        Specified by:
        preSolve in interface ContactListener
        Parameters:
        point - the contact point
        Returns:
        boolean true if the contact should remain enabled