Closed paccalin closed 4 years ago
The closing range is now computed via polar coordinates, angles and linear speed.
This gives a much more stable speed than the old method of derivating the relative range.
I couldn't find any way to get the velocity angles for the target aircraft. Due to this fact, I am using the attitude angles and have disabled vertical speed computation (to avoid inconsistent speed for high AOA). The code for vertical speed is available (but disabled) in the AIContact.nas:get_closure_speed() member.
There is now a chexkbox in the "option" menu to toggle the closing speed indicator on the hud (disabled by default).
Should be ready for review!
Implementation & integration of a closing speed indicator for the current locked target in the HUD. resolves #87