How to Orbit Around Selected Object's Pivot Point

Hello TechSoft3D Team,

Could you please guide me on how to implement orbit controls around the center point of a selected object?

Thank you!

Please see the function setOrbitTarget which is part of the CameraOrbitOperator class.

Also worth mentioning is that the orbit operator has a built-in feature of rotating about the point of selection on a face. To activate this, use the middle mouse button to intiate the orbit.