How to Find Height Or Unreal Location In Terrain

This is an requirement : I nid to place some actor in world With Latitude,Longitude,GroundClearance.
Now parctice that: LineTrace to terrain. But the 3DTileSet only capture current Lod. I understand Hit impactpoint cant get terrain point on next level.

But how can I query terrain actual terrain height with Lat,Long or other Coordinate System?

Thx

Hi @qq250192902,

Unfortunately, there is no way to get the height of the terrain without raycasting. We have an open Github issue for sampling the height of the terrain at its highest level of detail. However, I don’t have a time estimate for when we will be able to address it.

Just to give an update, as of Cesium for Unreal v2.9.0, you can now use the asynchronous SampleHeightMostDetailed function to query the height on a tileset, at a given longitude / latitude position. This is available in both Blueprints and C++. Remember that this height is returned in meters above the WGS84 ellipsoid!

You can find a Blueprints example in this PR comment: Add Unreal API for terrain height querying by csciguy8 · Pull Request #1421 · CesiumGS/cesium-unreal · GitHub