Can flyTo be bound to clock?

1. A concise explanation of the problem you’re experiencing.

I spend five seconds fly to the target, at sixth seconds, the target has animation and the animation is only one second. if I let clock speed up, I will miss an animation because of the fly still cost five seconds.the five seconds is fact time, not clock time

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.





It looks like there’s nothing built-in to do this, but this does sound very useful. I think what you’d need to do as a workaround is create a SampledPositionProperty:

That has the positions all along the flight path, and then create an onTick event, so that every frame you get the position from the sampled property and set the camera’s position to that.

You can actually see where the camera computes its tween here:

Although it might not be very straightforward to take that and create a sampledpositionproperty out of it.

I opened an issue with some more thoughts here

Ťhanks.I try it.

209年3月16日星期六下午6:10:59 UTC + 8,Omar Shehata写道: