Custom Terrain Issue - SOLVED

Hey guys. I’m switching over to JME3 from my own engine (it was for the learning experience)

So now I’m moving over my own terrain and ran into an issue.

This is the way my terrain works: it has a height map but every pair of triangles is considered a tile that has it’s own texture coords.

here’s an old video of my engine:terrain example

Is there a way for me to get this same terrain in JME without much modification?


Also how does the HeightfieldCollisionShape work? Is world pos (0,0,0) it’s center? Since you can’t have negatives in arrays is the heightmap shifted half its width in -x and -z?