I was working on the feature to calculate distance between objects in the air and on the ground. I figured out that to do that I need to use scene.pickPosition() and it works properly with scene.globe.depthTestAgainstTerrain = true.
Now the distance picker works well but the billboards on the surface go under the ground. Is there a way to fix that and possible way to fix all at once.
Here is an example