have a problem guys
trying to create a simple shooting method from my plane
the code i have so far is as follows:
i have previously declared at the top
if(dbKeyState(31)){
dbMakeObjectSphere(bulletID,2);
dbPositionObject(bulletID,dbObjectPositionX(3),dbObjectPositionY(3),dbObjectPositionZ(3));
bulletID++;
}
all i want to have is the plane (id of 3) to shoot spheres forwards towards targets however at the moment it just spawns the spheres and they stay behind mid flight, not actually moving. I know i have to update the z pos but not sure how to do this.
hopeing somebody out there could help me
Jimmy J