3Dtiles dataset and clamping to ground

Hi,

  Hope you are doing well. I have 3D tiles datasets of trees in json format. How can I clamp 3D tiles according to height of terrain in cesium for unreal. Considering heights of every tree is different and am not using cesium ion.

Regards
Maria

Hi @Maria_Saeed,

There’s nothing built in to do this. You’ll need to read/parse the JSON yourself, and then use the SampleHeightMostDetailed function (it’s available from both C++ and Blueprints) to query the height of the terrain at the position of every tree.