Function physx_sys::PxShapeExt_sweep
source · pub unsafe extern "C" fn PxShapeExt_sweep(
shape: *const PxShape,
actor: *const PxRigidActor,
unitDir: *const PxVec3,
distance: f32,
otherGeom: *const PxGeometry,
otherGeomPose: *const PxTransform,
sweepHit: *mut PxSweepHit,
hitFlags: PxHitFlags
) -> bool
Expand description
Sweep a geometry object against the shape.
Currently only box, sphere, capsule and convex mesh shapes are supported, i.e. the swept geometry object must be one of those types.
True if the swept geometry object hits the shape