I have a ship in 3d, I'm only using the X# and Z# Axis.
I fire Missles... They are parented to the Ship for placement and alignment before I push the fire button. Once I push the fire button. I set EntityParent Missle,0 and send it on it's way...One thing I can't get to work correctly is if my ship is moving fast the bullets seem to come out the back because they are moving slower than the ship. I tried to determine velocity of the ship and add that to to the missle speed, but I can't get that to work properly either.
Does anyone have some code to help me out?
Thanks,
Eric
I fire Missles... They are parented to the Ship for placement and alignment before I push the fire button. Once I push the fire button. I set EntityParent Missle,0 and send it on it's way...One thing I can't get to work correctly is if my ship is moving fast the bullets seem to come out the back because they are moving slower than the ship. I tried to determine velocity of the ship and add that to to the missle speed, but I can't get that to work properly either.
Does anyone have some code to help me out?
Thanks,
Eric