Prevent 3D Model renderer outside of frame.

I am using CesiumJS to load tile data, but with certain mouse controls, my model disappears from the frame.

I want to keep my model within view and prevent it from moving out of frame. How can I restrict mouse controls to ensure the camera stays within the frame? I only want to allow movement as long as the model remains visible.

prevent like controls to model out of frame.

Hi @jayant_123,

This is a common feature request which hasn’t yet made it into CesiumJS. There are a few ideas in that thread, and we would love to hear more if you have them!