FlyTo From A to B but with zoom out in midle of the flight

Hello,
i was wondering if there is a camera function, which flies an arc from point a to point b with a vertex / mid point between a and b set to a specific height.
So basically zoom out and fly to the point between a and b and then zoom in and fly to point b.
Would I need to calculate the mid point and do two flights, or is there a built in function for that?
Thanks

Hi @CarlCartesian,

Thank you for bringing your question to the community! I took some time to look through our Camera documentation

https://cesium.com/learn/cesiumjs/ref-doc/Camera.html?classFilter=camera

To the best of my knowledge, there is no function that is designed specifically for your use case. However, your implementation idea seems like a great place for you to start in terms of development.

Best,
Sam