cesium icon indicating copy to clipboard operation
cesium copied to clipboard

`viewer.flyTo` has inconsistent behavior when flying to dynamic entity

Open j9liu opened this issue 4 years ago • 1 comments

From this forum post. There are two sandcastles involved: Sandcastle with static entities vs. Sandcastle with dynamic entity

The user observed strange behavior in the Sandcastle with dynamic entities. The viewer overshoots / undershoots the entity that it is flying to, and often ends up underground. However, the first flight from Position 1 to Position 3 seems fine. Any other flights result in the camera going underground.

The Sandcastle with static entities works more consistently, but the first time that you fly to Position 2, the viewer flies underground. If you fly to any of the other positions, then back to position 2, it works as expected.

Browser: Google Chrome Operating System: Windows

j9liu avatar Jul 20 '21 15:07 j9liu

That static entity is using CLAMP_TO_GROUND, which now has a more specific issue - https://github.com/CesiumGS/cesium/issues/10555

ggetz avatar Jul 15 '22 15:07 ggetz