OK first if you could post the code we could see exactly what you have done.
But im gussing you have basicly placed the X,y,z of the camera co-ords at the same location as the x,y,z of the object co-ors insdie the main loop so the camera will alwasy be in the same location as the object.
If the camera is to the left and slighyl behind the onject, bear in mind that the XYZ of the OBJECT may not be its CENTER
it may well be the lower left corner of the object, so your camerea is being placed there.
In your code try adding a little extra to the XYZ of the CAMERA co-ors to compesate for this
IE
If your OBEJCT co-ors is say 10,10,10 and your object is 10x10x10 in SIZE
If the camrea is at 10,10,10 (the same as the object) and this is actually the lower left corner of the object. Adding 5 to eack of the object co-ords will get you its dead center.
So CAMERA co-ors will be
POSITION CAMERA Objectx+5,Objecty+5,Objectz+5
placeing the camera at the objectct co ords plus 5 to get dead center
But like i said im gussinghere as to this is what you mean, could do with a bit of code