getWorldManifold method

void getWorldManifold (WorldManifold worldManifold)

Get the world manifold.

Implementation

void getWorldManifold(WorldManifold worldManifold) {
  final Body bodyA = _fixtureA.getBody();
  final Body bodyB = _fixtureB.getBody();
  final Shape shapeA = _fixtureA.getShape();
  final Shape shapeB = _fixtureB.getShape();

  worldManifold.initialize(_manifold, bodyA._transform, shapeA.radius,
      bodyB._transform, shapeB.radius);
}