Alright. It seems to me that this is going to be more difficult than I had first expected. However, the rewards are more than worth it in my mind. I will continue to report my progress in this thread so you all may point out any significant errors I may fail to notice immediately. Before I begin, here are a few more small questions.
1) What is the measurement for gravity in ArmA? 9.8 m/s? 10 m/s? 9 m/s? Has this been documented?
2) In what unit of measurement are the three different values in the "setVelocity" and "velocity" commands? I first thought that the magnitude of the vector between x and y would be equal to forward speed, or ~1000-1100 kmh. That turned out to be incorrect. This is a rough estimate of the data I was able to gather when the gun fired a shell at a 45 degree angle.
- Z velocity: 550 wtf (whatever-the-*** a velocity array element measures...)
- XY velocity: 275 wtf (in total, I mean. Their readout depends on the direction the gun is fired)
- Magnitude: 615 wtf (To the best of my knowledge, the magnitude of the velocity vector is determined by applying the Pythagorean Theorem to the previous measurements. Am not entirely sure)
Rommel, are implying that I should create a kind of "database" that stores all the data needed for each possible angle? Just in my brief tests with the "flawed" system, there are -significant- differences between one degree and another, even up to the hundreth decimal place! It would take weeks of nonstop testing to find (88 * 10 * 10) or 8800 different degree readouts! That is simply not a possibility. There must be a better way... If I have misinterpreted you, please correct me.
*sigh* Back into the fray,
-dRb
EDIT:
The reason air friction is necessary to be aware of is because it is a constant de-cellaration, as with ArmA's gravity, and hence is a constant problem for you to think about. What else makes the round fall on target?
Could not gravity act as a decent decelleration factor alone? How is air friction in ArmA even modeled? Does it change or is it a constant, fixed number? Would it be providing lateral decelleration and gravity providing vertical decelleration?