Class WorldManifold

java.lang.Object
org.jbox2d.collision.WorldManifold

public class WorldManifold extends Object
This is used to compute the current state of a contact manifold.
Author:
Daniel Murphy
  • Field Details

    • normal

      public final Vec2 normal
      The world vector pointing from A to B.
    • points

      public final Vec2[] points
      The world contact point (point of intersection).
    • separations

      public final float[] separations
      A negative value indicates overlap, in meters.
  • Constructor Details

    • WorldManifold

      public WorldManifold()
  • Method Details