Module org.dyn4j

Interface Contact

  • All Known Subinterfaces:
    SolvedContact

    public interface Contact
    Represents a contact of a ContactConstraint.
    Since:
    4.0.0
    Version:
    4.0.0
    Author:
    William Bittle
    • Method Detail

      • getPoint

        Vector2 getPoint()
        Returns the world space collision point.
        Returns:
        Vector2 the collision point in world space
      • getDepth

        double getDepth()
        Returns the penetration depth of this point.
        Returns:
        double the penetration depth