Newbie question but is there the equivalent of sampleTerrainMostDetailed which I believe provides the height from the World Terrain data for a given lat/lon?
I’m trying to display objects at altitudes above ground level but need the terrain height to convert from one altitude measuring system to another.
Unfortunately, we don’t have a direct equivalent to sampleTerrainMostDetailed yet. We have an issue open for it on Github, but no time estimate for when we’ll get around to it.
For now, you can use a Linecast to find the height of terrain at a given 2D point. Be aware, though, that the height can change as the terrain level of detail shifts.