Function physx_sys::PxCustomGeometryCallbacks_sweep
source · pub unsafe extern "C" fn PxCustomGeometryCallbacks_sweep(
self_: *const PxCustomGeometryCallbacks,
unitDir: *const PxVec3,
maxDist: f32,
geom0: *const PxGeometry,
pose0: *const PxTransform,
geom1: *const PxGeometry,
pose1: *const PxTransform,
sweepHit: *mut PxGeomSweepHit,
hitFlags: PxHitFlags,
inflation: f32,
threadContext: *mut PxQueryThreadContext
) -> bool
Expand description
Sweep. Sweep one geometry against the other.
True if there is hit. False otherwise.