Inconsistent Autoturret
As the name suggests, the autoturret doesnt lead aircraft properly when aiming at them. At first I thought it might have to do with the fact that, when facing north, the mathmatical difference between the target heading and aircraft heading can jump up to around 360 degrees even if the physical heading distance is small. but the autoaim tends to "snap" at close range or when aiming to the rear of the target. im not sure why it does this. i tried adding an if then statement to bring the aim closer to the target lead but it doesnt do much. if anyone can explain why it does this or if they've had similar issues it would be appreciated.
oh and also theres a funky turret and a rudimentary fly by funk, inspired and derived from these creations:
https://www.simpleplanes.com/a/e3K64m/Autoleading-AA-Turret
https://www.simpleplanes.com/a/n45JIs/Airborne-auto-turret-testbed
I should add im more interested in the knowledge of making a good turret than simply having a good turret, as the latter only requires i rip the equations from the above creations
Specifications
General Characteristics
- Created On Windows
- Wingspan 37.4ft (11.4m)
- Length 38.0ft (11.6m)
- Height 8.9ft (2.7m)
- Empty Weight 16,977lbs (7,700kg)
- Loaded Weight 26,562lbs (12,048kg)
Performance
- Power/Weight Ratio 2.284
- Wing Loading 66.4lbs/ft2 (324.2kg/m2)
- Wing Area 400.0ft2 (37.2m2)
- Drag Points 3191
Parts
- Number of Parts 108
- Control Surfaces 10
- Performance Cost 715
i fixed it. i think lol