Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Okay, so I got a Projectile with 2 Vectors, position and velocity. I now want to calculate the initial velocity for it in order to reach a specific point on the map.

Or actually, how high has the start z-velocity to be (because x and y are probably defined by a speed variable) in order for the projectile to hit the marked position.

The projectile is influenced by a constant gravity vector.

All calculations are done 32 times per second.

I want this, because I don't want to use a parabola function, so the projectile can still be influenced by other sources, simply adding some velocity.

I didn't really find anything referring to that topic and would be glad for every helping answer, Thanks.

share|improve this question
What can influence your projectile while it is traveling? Gravity? other effects? Without knowing those factors we can't give you anything :) – Roy T. Jul 1 '12 at 20:05
oh, sry. The only influence is a gravity vector. – Frotty Jul 1 '12 at 20:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.