Camera orbit around an arbitrary point

Hi,

I checked the mouse orbit code it makes the camera to orbit around the origin. I want my camera to pan to a new position and orbit it with respect to it.

A member from GameDev suggests the following

Could any one suggest some details on how to implement it or any other better approach

Thanks

Personally used Transform.RotateAround when doing an orbit script recently. Might do what you want too.

Ahh, transform.RotateAround() very useful, thanks.