Strange viewer.flyTo behavior

I meet a strange issue for viewer.flyTo(entity, offset) methods.

I want to change the entity.position in my program, and the flyTo function does not work as expected. But it I make entities as a static object, it works fine.

I attached two sandcastle for example:

The above one behaves strange.

This one works fine.

Hi @iLoveBug,

Thank you for pointing out this bug! I made a note of it in the Cesium Github repository:`viewer.flyTo` has inconsistent behavior when flying to entity · Issue #9685 · CesiumGS/cesium · GitHub. The team will work on it when it has the bandwidth.

Let me know if I can help with anything else.

Best regards,