TerrainQuad.getHeight() always returns 0

Hi guys,

I am trying to use TerrainQuad.getHeight(…) but I always get 0.

The terrain is exactly the same used for the example HelloTerrain. I debugged it a little and found that at some point TerrainPatch.getHeight(…) is invoked, which is not implemented, it only contains:



return 0; //TODO!!!



Thanks!

You’re welcome.

1 Like

So… does that code in the comment below the return work? :slight_smile:

And if so, will it be included in a nightly build in the near future, or should we edit it and repackage the jar if we wanna use it?