I am currently working on an artillery simulation but I came across a problem: I require an equation that will give me the required initial angle when given a velocity the range and elevation, gravitational acceleration and all bullet properties but with airdrag, so far I have found this:
It works well, but the bullets dont hit the target at the predicted time so I am assuming it's airdrag that is slowing them down (it is programmed in an already existing game so i can't access the source code).
Could anyone post me an equation that would give me the required angle with airdrag?