simcodersdotcom / headshake

Source code of the HeadShake plugin for X-Plane
https://www.simcoders.com/headshake
GNU General Public License v3.0
39 stars 12 forks source link

Minimal changeset to fix head roll issues #25

Closed quantumac closed 5 years ago

quantumac commented 5 years ago

This is a minimal changeset which addresses only two issues:

  1. The "permanent head roll offset bug" which develops over time, where after flying a while the pilot sees their head tilted left or right even while level. The patch works by computing an offset from the headshake roll contributions and the current X-Plane head roll. Note this fix has no way to know if other plugins are attempting to make contributions to pilot head roll.

  2. The abrupt shift in head roll while rotating upside down through the nadir.