worldToLocal method

Vector2 worldToLocal(
  1. Vector2 point
)

Convert body absolute/world coordinates to relative/local coordinates.

Implementation

Vector2 worldToLocal(Vector2 point) => _body.worldToLocal(point);