castRayAll method
Casts a ray from origin along translation and returns every hit,
sorted from nearest to farthest.
Implementation
List<RayHit> castRayAll(
Vector2 origin,
Vector2 translation, {
QueryFilter? filter,
}) {
return physicsWorld.castRayAll(origin, translation, filter: filter);
}