From fd723c0497476fd0504c7c6bed9627b5e0db7834 Mon Sep 17 00:00:00 2001 From: Julian Smith <jules@op59.net> Date: Sun, 25 Oct 2020 10:53:56 +0000 Subject: [PATCH] src/FDM/YASim/Propeller.cpp: set thrust to zero if feathered. --- src/FDM/YASim/Propeller.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FDM/YASim/Propeller.cpp b/src/FDM/YASim/Propeller.cpp index af19e7050..27b03a9b7 100644 --- a/src/FDM/YASim/Propeller.cpp +++ b/src/FDM/YASim/Propeller.cpp @@ -114,6 +114,10 @@ void Propeller::calc(float density, float v, float omega, torque = tau0 - tau0 * (lambda - 1) / (lambdaWM - 1); torque *= 0.5f * density * V2 * _f0; } + + if (_propfeather) { + thrust = 0; + } *thrustOut = thrust; *torqueOut = torque;