Every loop, position the camera where the object is, rotate it about the x and y axis, and then move it backwards using the move object command with a negative value. Something like the following (Though I haven't tried this out so it might not work
)
rem position the camera where object number one is
position camera object position x(1),object position y(1),object position z(1)
rem rotate the camera according to your mouse movements
xrotate camera camera angle x()+mousemovey()
yrotate camera camera angle y()+mousemovex()
rem move the camera back a bit
move camera -100
(I'm assuming your object is number 1, and you can change the -100 to whatever distance you want the camera to be (just keep it negative)) Pop the above at the end of your code, before the sync and fingers crossed it'll work. YOu should be able to control the camera with the mouse
Hope I helped,
Robin
http://www.thegameszone.tk | robin@thegameszone.tk
Don't waste paper. It's not like it grows on trees.