
it doesn`t come any simpler, first example is obvious,set camera to follow ...er sets the camera to follow, how hard is that?, the other can be placed in code almost as is, just change the variable obj for the number of the object you want to follow, eg
for a fixed relative position
for i=1 to 1000
a=rnd(300)
b=rnd(300)
ink rgb(rnd(255),rnd(255),rnd(255)),0
box a,b,a+10,b+10
next i
get image 1,0,0,127,127
make object cube 1,1
make matrix 1,100,100,10,10
prepare matrix texture 1,1,1,1
do
if upkey() then move object 1,0.1
if leftkey() then turn object left 1,2
if rightkey() then turn object right 1,2
set camera to follow object position x(1),object position y(1),object position z(1),0,5,3,10,0
loop
chasecam
for i=1 to 1000
a=rnd(300)
b=rnd(300)
ink rgb(rnd(255),rnd(255),rnd(255)),0
box a,b,a+10,b+10
next i
get image 1,0,0,127,127
make object cube 1,1
make matrix 1,100,100,10,10
prepare matrix texture 1,1,1,1
do
if upkey() then move object 1,0.1
if leftkey() then turn object left 1,2:dec ang,2
if rightkey() then turn object right 1,2:inc ang,2
ang=wrapvalue(ang)
set camera to follow object position x(1),object position y(1),object position z(1),ang,5,3,10,0
loop
or home made rigid chasecam
for i=1 to 1000
a=rnd(300)
b=rnd(300)
ink rgb(rnd(255),rnd(255),rnd(255)),0
box a,b,a+10,b+10
next i
get image 1,0,0,127,127
make object cube 1,1
make matrix 1,100,100,10,10
prepare matrix texture 1,1,1,1
do
if upkey() then move object 1,0.1
if leftkey() then turn object left 1,2
if rightkey() then turn object right 1,2
ang=wrapvalue(ang)
position camera object position x(1),object position y(1),object position z(1)
set camera to object orientation 1
pitch camera down 30
move camera -4
loop
take your pick...
if there is one thing I can NOT tolerate, it`s intolerant people.