Eccentric Arc Rotate Camera

Hello everyone!

I would like my arc rotate camera to rotate in a specific way that the target object remains on the right side (or left, does not matter). The first idea came to my mind is to observe camera alpha angle and set target vector accordingly. But I am not sure if there was an easier and lest costly option. Any better ideas?

Thanks a lot!

adding @PolygonalSun

Solved: Babylon.js Playground
Finally a contribution :grin:

You may also use camera.targetScreenOffset
Example - https://playground.babylonjs.com/#SRZRWV#564

1 Like