PhysX Question about Raycasting - Setting the shape masks
- by sweet tv
I am trying to make the raycast give me the distance of the terrain and nothing else. But I'm not sure how to use the group Mask Filter.
virtual NxShape* raycastClosestShape (const NxRay& worldRay, NxShapesType shapeType, NxRaycastHit& hit, NxU32 groups=0xffffffff, NxReal maxDist=NX_MAX_F32, NxU32…