Function physx::cooking::create_height_field
source · pub fn create_height_field(
physics: &mut impl Physics,
desc: &PxHeightFieldDesc
) -> Option<Owner<HeightField>>
Expand description
Cooks and creates a heightfield mesh and inserts it into PxPhysics.
PxHeightField pointer on success