"Place On Ground" option in Cesium Globe Anchor

Hi do you guys think its possible in the future (or right now and I just don’t know it?) to have an inbuild boolean inside Cesium Globe Anchor or something else so it automatically positions objects at the height of the lat lon coordinate based on the elevation?

A workaround is probably using the Cesium3DTileSet Methode SampleHeightMostDetailed but I was wondering if there would be a way to have it a bit more automatic?

1 Like

Hi @JanikCodes,

There’s no built in way to do that today. The best approach currently is probably to use a line trace against the terrain, and repeat it periodically. That will be faster than SampleHeightMostDetailed, and allows the height to change as the LOD shifts.

We want to add an automatic system for this in the future, but I don’t have a time frame for it at the moment.