In SetThrust(), do not set minThrust to maxThrust.
Set finalThrust to maxThrust,
then set maxThrust to (maxThrust / currentThrottle).
This time thrust should be correct.
maxThrust is still wrong,
but it's better than making the sound staying at max volume.
I tested JetEngine, B9_Engine_SABRE_S and B9_Engine_Jet_Pod_Small.
In the picture,
the left engine use new way to set thrust (finalThrust = maxThrust, maxThrust = maxThrust / currentThrottle),
the right engine use the old way (minThrust = maxThrust).
The plane can go straight forward.
In SetThrust(), do not set minThrust to maxThrust.
Set finalThrust to maxThrust, then set maxThrust to (maxThrust / currentThrottle).
This time thrust should be correct. maxThrust is still wrong, but it's better than making the sound staying at max volume.
I tested JetEngine, B9_Engine_SABRE_S and B9_Engine_Jet_Pod_Small. In the picture, the left engine use new way to set thrust (finalThrust = maxThrust, maxThrust = maxThrust / currentThrottle), the right engine use the old way (minThrust = maxThrust). The plane can go straight forward.
Here is my test files: https://github.com/bssthu/AJE/releases/tag/2.0.3 (Sorry I don't have a net disk)
(Hope this commit didn't mess up something...)