NVIDIAGameWorks/PhysX-3.4

How to show terrain(heightfield) hole in Physx Visual Debugger.

timi-liuliang opened this issue · 0 comments

No matter Ue4 or PhysX Visual Debugger, I can't debug the heightfield hole. When they render static rigid body, they just ignore the

/**
\brief Special material index values for height field samples.

@see PxHeightFieldSample.materialIndex0 PxHeightFieldSample.materialIndex1
*/
struct PxHeightFieldMaterial
{
enum Enum
{
eHOLE = 127 //!< A material indicating that the triangle should be treated as a hole in the mesh.
};
};

material. in PxHeightFieldSample.h