In our current Google Earth application we have an animation sequence that circles around a model.
In GE this is fairly easy: we do a LookAt() sequence (at an appropriate range and tilt) where the heading increases e.g. 10 degrees each step (i.e. at the ‘frameend’ event) until we have completed the circle. The LookAt has a certain speed/duration, and its path is direct.
I tried to achieve the same in Cesium by using the viewer.flyTo(), where the heading increases 10 degrees each step (using the Promise).
The problem is that flyTo() does not have a direct path, but ‘animates’ to the new position, which is not good in this case.
Is there a way to change the path taken by flyTo(), or should I take a different approach?
The camera.lookAt() misses the possibility to set the duration, and does not have a Promise or OnComplete. The camera.flyTo() could be used but requires quite some calculation to position and aim the camera.