Add an offset from trackedEntity?

Is there a way to add an offset for the camera when it’s following a trackedEntity? (for example, if I want the camera to be farther away from the object than the default or if I want it to look at the object from an angle)

Or do I have to set that relative value on every clock tick?

I used
entity.viewFrom = new Cesium.Cartesian3(0, 0, someHeight);

viewer.trackedEntity = entity;

to get a top-down view, but I am not sure if that is the “right” way. I reset viewFrom when I un-track the entity.


Thanks, Willem!