Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene.pickPosition returns points underground #11313

Closed
paherbst opened this issue May 26, 2023 · 1 comment
Closed

Scene.pickPosition returns points underground #11313

paherbst opened this issue May 26, 2023 · 1 comment

Comments

@paherbst
Copy link

version: 1.105.1

In certain cases when calling Scene.pickPosition, it returns points that are underground. It seems to be as much underground as the camera is above ground. So if you zoom out, the pic position moves further underground.

i was able to reproduce it here. It shows up in my application all the time, but i could only get it to manifest in Sandcastle by setting the camera pitch flatter.

In the example, view the console and right-click to trigger a pickPosition. Zoom in or out and right-click again to see the changes.

Sandcastle Example

@ggetz
Copy link
Contributor

ggetz commented May 26, 2023

Thanks for the report @paherbst.

I believe this is a duplicate of #4368. I'll close this issue and add your report there.

We recommend using scene.pickEllipsoid for picking globe heights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants