pub unsafe extern "C" fn b2World_CastRayClosest(
worldId: b2WorldId,
origin: b2Vec2,
translation: b2Vec2,
filter: b2QueryFilter,
) -> b2RayResultExpand description
Cast a ray into the world to collect the closest hit. This is a convenience function. Ignores initial overlap. This is less general than b2World_CastRay() and does not allow for custom filtering.