Zoom while using lookAt on frequently updating object

Hi there, I’m new to Cesium. I’m calling lookAt an object that is frequently being updated. I need to allow the user to zoom in/out while its moving. I cant use the trackedEntity property because I can’t use a Cesium viewer. I cant figure out a way to get the range to not fight the frequent calls

Good question @madison-boman. Can you explain a bit more about the use case and why you can’t user the Viewer class?

The best workaround I would suggest is adding a callback to the Scene.postRender event which orients the camera towards the object. This is triggered every frame after other rendering and interaction code has run.

Hi Gabby! Thanks for the reply!

Long story short, the project im working in uses a cesium widget. We cant simply switch to a viewer at the moment so, I have to recreate the trackedEntity myself.

Ill try out the postRender to see if it helps