computeDistance method

double computeDistance(
  1. Vector2 point,
  2. int childIndex,
  3. Vector2 normalOut
)

Compute the distance from this fixture.

point should be in world coordinates.

Implementation

double computeDistance(
  Vector2 point,
  int childIndex,
  Vector2 normalOut,
) {
  return shape.computeDistanceToOut(
    body.transform,
    point,
    childIndex,
    normalOut,
  );
}