I got a scene in which I want the user to orbit around a shape. I can have a box around that shape and will like to have an ArcRotateCamera Target always be inside of it. Like a boundary for panning but not to the camera, but to the target of the camera.
And this box might be rotated.
How to do it?
“panningDistanceLimit” is not doing the trick here.
I created a startup PB. The sphere is just to visualize the camera target. The box is the limiting area.