- All Known Implementing Classes:
public interface ManifoldSolverFinds a contact
Manifoldfor two given
Shapes that are in collision.
Manifoldis a collection of contact points for a collision. For two dimensions, this will never be more than two contacts.
It's possible that no contact points are returned, in which case the
getManifold(Penetration, Convex, Transform, Convex, Transform, Manifold)method will return false.
- William Bittle
- See Also:
boolean getManifold(Penetration penetration, Convex convex1, Transform transform1, Convex convex2, Transform transform2, Manifold manifold)Returns true if there exists a valid contact manifold between the two
When returning true, this method fills in the
Manifoldobject with the points, depth, and normal.
Penetrationobject will be left unchanged by this method.