Function physx_sys::PxCustomGeometryCallbacks_raycast
source · pub unsafe extern "C" fn PxCustomGeometryCallbacks_raycast(
self_: *const PxCustomGeometryCallbacks,
origin: *const PxVec3,
unitDir: *const PxVec3,
geom: *const PxGeometry,
pose: *const PxTransform,
maxDist: f32,
hitFlags: PxHitFlags,
maxHits: u32,
rayHits: *mut PxGeomRaycastHit,
stride: u32,
threadContext: *mut PxQueryThreadContext
) -> u32
Expand description
Raycast. Cast a ray against the geometry in given pose.
Number of hits.