Function physx_sys::PxShapeExt_raycast
source · pub unsafe extern "C" fn PxShapeExt_raycast(
shape: *const PxShape,
actor: *const PxRigidActor,
rayOrigin: *const PxVec3,
rayDir: *const PxVec3,
maxDist: f32,
hitFlags: PxHitFlags,
maxHits: u32,
rayHits: *mut PxRaycastHit
) -> u32
Expand description
Raycast test against the shape.
Number of hits between the ray and the shape