Orbit camera from world position under cursor

Hey there, didn’t get a nofitication that people had responded, hence the late reply.

I’m trying to orbit around a point beneath the mouse cursor. So if I were to start my orbit from the far left edge of the screen, whatever is beneath the cursor would stay in focus as the camera rotates/translates around that point. It’s the same as if you took a cube’s anchor and placed it far away somewhere then trying to rotate that cube with its new anchor point, it would dramatically move/rotate around that anchor point. This is the same principle in http://earth.google.com (middle-mouse drag away from the center of the screen and you’ll see what i’m trying to do).