Hi there,
I have created a utility function to create heightmaps from a mesh. I was needing this because I had some problems generating a good and simple collision shape for a terrain designed in blender by my teammates.
If anyone may find this useful, here is the link: jme-mesh-to-heightmap/MeshBasedHeightMap.java at main · daBlesr/jme-mesh-to-heightmap · GitHub