camera follow object- !!
Blitz3D Forums/Blitz3D Beginners Area/camera follow object- !!
| ||
I have got a model,how can i make that the camera follow it. please help. |
| ||
Off the top of my head...pointentity camera,player moveentity camera,0,0,entitydistance(camera,player) - distancefromplayerand if you want to smooth it out moveentity camera,0,0,(entitydistance(camera,player) - distancefromplayer) / smoothingsmoothing could be about 20 or 30 but this will make the distancefromplayer 20 or 30 times bigger so you'll need to adjust that accordingly. |
| ||
Darktremor, in the code archives is a function called "Supercam" have a play with that one...lovely stuff. IPete2. |
| ||
or you could use entityparent... |