

Branli
-
Posts
51 -
Joined
-
Last visited
-
Hi CakeSorbus,
I have a question about your amazing script for the Gazelle. I stumbled upon the same problem for what i trying to do for the AH 64-D Apache when it comes to trigonometry and used your brute force method. But some how i cant get my pitch accuracy fixed. I'm hardly an expert when it comes to math, but the only thing i'm stuck with is the calculation the pitch of the TADS to calculate the distance where it LOS of the TADS hits the ground.
I will add my script what i have now.
what i dont understand is the code below, why aren't you using the pitch angle of the Viviane, or in my case TADS directly?
if vAngle < 0 then vAngleOffset = math.pi/2 + vAngle * math.rad(18) elseif vAngle > 0 then vAngleOffset = vAngle * math.rad(13) else vAngleOffset = 0 end
What i don't understand are the arbitrary numbers RAD 13 and RAD 18. How does it relate to the calculation and
local LasingCondLLim = (1/18) * -.1 local LasingCondULim = (1/13) * .1
Is this linked together?
Btw before you ask, why are you building this for the AH-64D, it already has a laser spot tracking etc. I want to brute force the position of the TADS so i can use it in other script like Calling Artillery, Creating markers for buddies etc.
Thanks for helping!