How to scene.pickPosition() ignore Model?

I want to move the model by dragging and dropping the mouse.
So I would like to get the coordinates (longitude, latitude) on the map of the mouse pointer position.
You can get the mouse position coordinates (longitude, latitude) with scene.pickPosition() , but if the model is at the mouse position you will get the coordinates of the model.
How can I ignore the model in scene.pickPosition() and get the coordinates (longitude, latitude) on the 3Dtile?


I believe this question has been answered on GitHub. Please let us know if you have any further questions.

I think the question boiled down to computing the exact picked point on the Google tiles (basically, whether there is something like globe.pick(ray, scene, result) when there is no globe, but only the Google 3D Tiles tileset). But maybe the asker wants to clarify that.

Even if there is a model at the mouse pointer position, I want to get the coordinates (longitude, latitude, height) on Google’s 3Dtile of the mouse pointer position with scene.pickPosition().

Got it, thanks!

Although not explcitly documented, a function like this would likely be needed for Keep camera from going under 3D tiles · Issue #11288 · CesiumGS/cesium · GitHub and Add clamping functionality directly in CZML and Entity API · Issue #7044 · CesiumGS/cesium · GitHub. We would expose the function as part of the public API.

There’s been a high demand for these features in the community, so I’d expect these items will get tackled soon. Stay tuned!