Camera Following object to strictly

Blitz3D Forums/Blitz3D Beginners Area/Camera Following object to strictly

try this
;***********************************
Function camcontrol(cam)
dx#=(TFormedX()-EntityX(cam))*.08
dy#=(TFormedY()-EntityY(cam))*.01
dz#=(TFormedZ()-EntityZ(cam))*.08

TranslateEntity cam,dx,dy,dz

End Function
;***********************************

and when you update your spaceship
TFormPoint 0,30,-70,p\entity,0
pointentity cam,p\entity

only change the first three numbers to best fit you needs