Post the section of code you want us to look at. This doesn't really give us a starting point to your problem. Check into the
set camera to follow command by looking at the reference and help files. This is a small example:
rem setup screen
sync on
sync rate 60
backdrop on
color backdrop 0
hide mouse
rem make an object
make object sphere 1 , 10
rem main loop
do
rem get positions of object
x# = object position x( 1 )
y# = object position y( 1 )
z# = object position z( 1 )
rem control camera
set camera to follow x# , y# , z# , object angle y( 1 ) , 40 , 10 , 3 , 0
point camera x# , y# , z#
rem refresh screen
sync
rem end of main loop
loop
rem end
end
TheComet