pub unsafe extern "C" fn PxSceneQueryExt_raycastAny(
    scene: *const PxScene,
    origin: *const PxVec3,
    unitDir: *const PxVec3,
    distance: f32,
    hit: *mut PxQueryHit,
    filterData: *const PxQueryFilterData,
    filterCall: *mut PxQueryFilterCallback,
    cache: *const PxQueryCache
) -> bool
Expand description

Raycast returning any blocking hit, not necessarily the closest.

Returns whether any rigid actor is hit along the ray.

Shooting a ray from within an object leads to different results depending on the shape type. Please check the details in article SceneQuery. User can ignore such objects by using one of the provided filter mechanisms.

True if a blocking hit was found.