- #1
glenrhodes
- 2
- 0
I'm a computer programmer, but I'm having trouble with this one. I need help figuring out how to calculate a 3D velocity vector which will make a projectile follow an ARC between two points on the ground, firing with a fixed speed.
I have a cannon at point a (x, y, z)
I have a target on the ground at point b (x, y, z)
I'm trying to figure out vx, vy, vz so that the cannonball will land exactly on point b. There is no wind resistance. Gravity and muzzle velocity are fixed. Every shot comes out at the same speed. What vx, vy and vz would cause a projectile fired from point a to arc up and then down to hit point b precisely?
Thanks very much,
Glen
I have a cannon at point a (x, y, z)
I have a target on the ground at point b (x, y, z)
I'm trying to figure out vx, vy, vz so that the cannonball will land exactly on point b. There is no wind resistance. Gravity and muzzle velocity are fixed. Every shot comes out at the same speed. What vx, vy and vz would cause a projectile fired from point a to arc up and then down to hit point b precisely?
Thanks very much,
Glen