In YASim, propellers start turning backwards instead of windmilling.
This code in PropEngine.cpp might be the problem:
// Euler-integrate the RPM. This doesn't need the full-on
// Runge-Kutta stuff.
float rotacc = (engTorque-propTorque)/Math::abs(_moment);
_omega += dt * rotacc;
David Megginson wrote:
> In YASim, propellers start turning backwards instead of windmilling.
> This code in PropEngine.cpp might be the problem:
>
> // Euler-integrate the RPM. This doesn't need the full-on
> // Runge-Kutta stuff.
> float rotacc = (engTorque-propTorque)/Math::abs(_mom