Umm... Still can't get it working. The object(1) follows the camera when I move forward, back, up or down but as soon as I turn the camera (1) left or right the object(1) sticks in its current position.
Camera controls:
if keystate(30)=1 then turn camera left 1,10
if keystate(32)=1 then turn camera right 1,10
Camera tracking code:
cx=camera position x(1)
cy=camera position y(1)
cz=camera position z(1)
Bullet Code:
if Mouseclick()=1 and BulletLife=0
Position object 5,cx,cy+20,cz
Set object to camera orientation 5
rotate object 5, cx, cy, cz
BulletLife =25
Show object 5
Endif
Any ideas what I'm doing wrong?
www.bensimms.co.uk