raycast method

void raycast(
  1. RayCastCallback callback,
  2. Vector2 point1,
  3. Vector2 point2
)

Implementation

void raycast(RayCastCallback callback, Vector2 point1, Vector2 point2) {
  physicsWorld.raycast(callback, point1, point2);
}