Patch from Andy to fix propellers on DC-3.
This commit is contained in:
parent
2db3a9a93c
commit
be7cc1058a
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ void PropEngine::integrate(float dt)
|
|||
|
||||
// Convert to an acceleration here, so that big propellers
|
||||
// don't seek faster than small ones.
|
||||
float diff = Math::abs(propTorque - targetTorque) / _moment;
|
||||
float diff = Math::abs((propTorque - targetTorque) / _moment);
|
||||
if(diff < 10) mod = 1 + (mod-1)*(0.1*diff);
|
||||
|
||||
_prop->modPitch(mod);
|
||||
|
|
Loading…
Add table
Reference in a new issue