pub unsafe extern "C" fn PxSceneQueryExt_sweepMultiple(
    scene: *const PxScene,
    geometry: *const PxGeometry,
    pose: *const PxTransform,
    unitDir: *const PxVec3,
    distance: f32,
    outputFlags: PxHitFlags,
    hitBuffer: *mut PxSweepHit,
    hitBufferSize: u32,
    blockingHit: *mut bool,
    filterData: *const PxQueryFilterData,
    filterCall: *mut PxQueryFilterCallback,
    cache: *const PxQueryCache,
    inflation: f32
) -> i32
Expand description

Sweep returning multiple results.

Find all rigid actors that get hit along the sweep. Each result contains data as specified by the outputFlags field.

Touching hits are not ordered.

If a shape from the scene is already overlapping with the query shape in its starting position, behavior is controlled by the PxSceneQueryFlag::eINITIAL_OVERLAP flag.

Number of hits in the buffer, or -1 if the buffer overflowed.