Function physx_sys::PxGeometryQuery_raycast
source · pub unsafe extern "C" fn PxGeometryQuery_raycast(
origin: *const PxVec3,
unitDir: *const PxVec3,
geom: *const PxGeometry,
pose: *const PxTransform,
maxDist: f32,
hitFlags: PxHitFlags,
maxHits: u32,
rayHits: *mut PxGeomRaycastHit,
stride: u32,
queryFlags: PxGeometryQueryFlags,
threadContext: *mut PxQueryThreadContext
) -> u32
Expand description
Raycast test against a geometry object.
All geometry types are supported except PxParticleSystemGeometry, PxTetrahedronMeshGeometry and PxHairSystemGeometry.
Number of hits between the ray and the geometry object