HeightField collision problem

Dear all

I create a plane HeightField, and observe it with PVD.

and I use a box fall on the HeightField.

Result:
the box can hit the plane very closed to the HeightField actor position.
( in my case: HeightField actor original position = HeightField shape local original position )
but it through the plane in other HeightField place.

I don’t know why?
//--------------------------------------------------

Are materialIndex0 and materialIndex1 ‘0’ base or ‘1’ base material index ?
//--------------------------------------------------

Do any suggest to me?
thank you very much.

Hi

I resolve it.

PxHeightFieldSample array must release after PxHeightFieldGeometry.
//--------------------------------------------------

Ask:
Can anybody answer me that
“Are materialIndex0 and materialIndex1 ‘0’ base or ‘1’ base material index ?”
or
“Are material array of the shape ‘0’ base or ‘1’ base material index?”

thank you very much.

Hi

Ask:
“Are materialIndex0 and materialIndex1 ‘0’ base or ‘1’ base material index ?”

Answer:
It is ‘0’ base when shape using material array.

thank you very much.