Get the real-world height of the terrain at the specified X-Z coordinate.
Edit:
Another option would be to examine this technical paper I’ve prepared. A basic understanding of engine operations and JME terrain characteristics is necessary for a thorough understanding