eRazeri / CCIP

Other
3 stars 2 forks source link

Improve solver accuracy #1

Open eRazeri opened 9 years ago

eRazeri commented 9 years ago

This picture is a good demonstration: http://pilvigalleria.dy.fi/imgs/arma3%202014-12-07%2000-42-01-855.jpg You can see the debug line, the crosshair is where the impact is calculated to be and the yellow sphere is CCIP_impactPos with ATL Z at 0. I`m asking for help to make it more accurate. This was also the case with the original script: https://github.com/jonimake/arma-ccip/issues

eRazeri commented 9 years ago

Note to myself: Look at going backwards a bit in the vector or change solver iterations? Calculate a midpoint in the last vector? Make the solver go backwards with increased accuracy?