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

Sweep returning a single result.

Returns the first rigid actor that is hit along the ray. Data for a blocking hit will be returned as specified by the outputFlags field. Touching hits will be ignored.

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.

True if a blocking hit was found.