Convert Mesh to Ground

Hello,

I want to have efficient ground collision on nodejs & browsers. Unfortunately NullEngine doesent support heightmaps from png files.

I wanted to create the terrain in blender and convert it in to a groundmesh. I cant seem to make it work.

I have no real experience with 3d objects. My guess that I just have to copy some VerticiesData from my model mesh to the babylonjs ground. In my attemps I got some undefined slope errors when I called myGround.getHeightAtCoordinates()

https://www.babylonjs-playground.com/#PN1NNI#194
I subdivided my plane 8 times in blender.

Edit:
solved:
https://www.babylonjs-playground.com/#PN1NNI#196

1 Like

Welcome to the forums @proace137!

It looks like you’ve solved your issue. If that’s not the case, reply and let us know.