JamesLongman / Squad-Mortar-Calculator-IOS

IOS App: Mortar calculator for the video game Squad
https://itunes.apple.com/app/id1352781413
MIT License
3 stars 0 forks source link

Alter calculation to include altitude differences #31

Open JamesLongman opened 6 years ago

JamesLongman commented 6 years ago

At the moment the calculations of mortar to target calibrations assume a 2d plane, unfortunately that is rarely the case and height differences can cause an error in the calculation (small at all but extreme ranges and height differences).

This issue is difficult to tackle as it requires accurate 3D mapping of squad maps and a redesigned equation that presumably would be based around parabolic mathematics rather than the current polynomial interpolation the project uses.

I know this is one of the top requested community features of calculators, so even though I am confident the improvement in accuracy will be very small in 95%+ of cases it is a very important issue.

Endebert seems to have made some good progress on this problem for his in-browser map based calculator (as far as I know no community calculators currently account for this). https://github.com/Endebert/squadmc/issues/4

It would be well worth keeping an eye on this issue to see how he gets on and possibly work on a port if successful.