Module org.dyn4j

Interface SolvedContact

  • All Superinterfaces:
    Contact

    public interface SolvedContact
    extends Contact
    Represents a contact that has been solved.
    Since:
    4.0.0
    Version:
    4.0.0
    Author:
    William Bittle
    • Method Detail

      • getNormalImpulse

        double getNormalImpulse()
        Returns the accumulated normal impulse applied at this point.
        Returns:
        double the accumulated normal impulse
      • getTangentialImpulse

        double getTangentialImpulse()
        Returns the accumulated tangential impulse applied at this point.
        Returns:
        double the accumulated tangential impulse
      • isSolved

        boolean isSolved()
        Returns true if this contact was solved.

        A contact may not be solved when it's part of a pair of contacts that form a linearly dependent system.

        Returns:
        boolean
        Since:
        4.0.0