Closed ddaf closed 9 years ago
Hm there's still an issue with SAS intermittently taking control or limiting input, I'll try to improve it.
Okay, finally it seems to be working properly and with all the new SAS modes. The implementation is now:
No messy subtraction or AutoPilot.ManualOverride
(which is f*cked in 0.90).
I discovered that SAS is now already applied to the FlightCtrlState when received in OnFlyByWire.
So I re-implemented SAS override by just taking a copy of the state before we start changing it, and if override is needed we negate pitch/yaw/roll with the recorded sas state. Works perfectly in all SAS modes from my testing, but I suggest you do a bit of testing too before a release.
Hopefully this fixes Issue https://github.com/AlexanderDzhoganov/ksp-advanced-flybywire/issues/28, a pretty bad one ><