I am making a 2d game in which units fire arrows at each other. I know the shooter's and the target's position and the initial velocity of the projectile. I want to know the angle the projectile should have in order to land on the target. The target could be at a different height than the shooter.
To sum up I know v0, R and g and I need to find the angle (or the height ?).
I read http://en.wikipedia.org/wiki/Projectile_motion ,but I can't find something related to what I need.