Camera Following object to strictly

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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