How do you put car front of the camera?

Blitz3D Forums/Blitz3D Beginners Area/How do you put car front of the camera?

Hotshot2005(Posted 2005) [#1]
hiya all

I have try put car front of the camera but it is above camera mean like this

how do I put the car front of the camera?

it is PositionEnitiy?



Cheers


Matty(Posted 2005) [#2]
car=loadmesh("car file")
camera=createcamera(car)
moveentity camera,0,meshheight(car)*2,-meshdepth(car)*4
pointentity camera,car

repeat



updateworld
renderworld
flip
until keydown(1)