this is a simple problem to fix and involves triganometry.
I'll be quick here:
you need to have the X, Y and Z positions of the object at hand.
It may be wrong, since i haven't done triganometry for about a year.
Radius (this is the distance from the object in question)
CamXPos = (Sin(ObjAngY) * Radius) - Cos(ObjAngX)
CamYPos = (Sin(ObjAngX) * Radius) - Cos(ObjAngY)
CamZPos = (Cos(ObjAngY) * Radius) - Sin(ObjAngX)
Then all you do is apply the angles of the object to the camera.
When i have my site up i will place much more code for users to download and test for free.
Let me know if it works:
Leade