Hey all
I'm trying to create a really simple bullet. So in my game I have a crosshair sprite centered. I've applied the 'control camera with arrow keys' on camera 1. Then created a small sphere(object 10) which is hidden.
Now, I'm trying to call the bullet (object 10) and make it "fire", by moving forward on the z axis really quickly
I want it to shoot from the center of current camera (1) position in my 3d world.
Here's my code:
IF KEYSTATE(30)=1 then show object 10 : position object 10,camera position z(1),camera position x(1),camera position y(1)
move object 10,600
The sphere appears and moves but it doesn't move from the current position of camera 1, which is what I'm after. Any ideas?
Many thanks
www.bensimms.co.uk