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 not work on entity.point #11984

Closed
s3xysteak opened this issue May 14, 2024 · 1 comment
Closed

scene.pickPosition not work on entity.point #11984

s3xysteak opened this issue May 14, 2024 · 1 comment

Comments

@s3xysteak
Copy link
Contributor

What happened?

scene.pickPosition a entity.point will always return undefined but works well on entity.label.

Reproduction steps

  1. Click the point and you will find out console log a undefined
  2. Click the label then it will log the Cartesian3 where you clicked.

Sandcastle example

https://sandcastle.cesium.com/#c=dVJdi9swEPwral5OBldOe+1L6oS2vhw1DclBzEHBEGR5k4jIkpFk53xH/nvlj4RwTR8stOud2dlZMSWNRTWHI2g0RRKOKALDq4I8dzmcjlgXR0payiXodOR9S2UqWYcEabltHLKnIF3MwRCa5/gtlQiVyriMkpNr8ohq625U3uMvm/F43H4+unX1/J6ESztBHaGL+AuINX+FCbof+30u54ZmAh6gtPsEjH3gxlLJXMmyKjKn7Gm1jpP4eb6Jl4/xMk7+dMBTdwqagbjQW3hxve4iwdkBFfDhbmhh9ur4k7LDTqtK5hNkdQX+laLVdmvA3p7zM3ZDffw6jNN2PXmti4NtW9EkCvdm9vaeDd5TmYv3u1kzDSDXJWUwrx3qV1+EBzZGZU1Ny9NqS+XAQZy6WJaV/cHahWD8dlkOOnloOusNaPsqAUSo3ZnQMJBASufH0wDAZ6Tnxjj5/xOWNCWQxfwx2USLOPrdShr5o9DYRsCsl4fQd16USltUaYEJCSwUpaDOtiCr2AEsYeYySxhcQ8Oc14jn0xtvFDFBjXF/tpXonko6moWBq/8HKhTNudytatCCNm3Z/tNs0ScJIWHgwttIq5TIqH7H/Bc

Environment

Browser: Edge 124.0.2478.97
CesiumJS Version: 1.117
Operating System: Windows 11 23H2 22631.3447

@ggetz
Copy link
Contributor

ggetz commented May 15, 2024

Good news @syzdev, I believe this is fixed with #11983 which was just merged into main. The fix should go out with the next release on June 3.

@ggetz ggetz closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants