]> git.mxchange.org Git - flightgear.git/commitdiff
Patch from Maik: as helijah found out, there was a bug within the rotor simulation.
authorandy <andy>
Mon, 23 Feb 2009 20:17:56 +0000 (20:17 +0000)
committerTim Moore <timoore@redhat.com>
Fri, 27 Feb 2009 22:42:33 +0000 (23:42 +0100)
src/FDM/YASim/Rotor.cpp

index 413984a813518338b9c098f3a5fee080ea2db954..96be4cfffbd7d5f33ce2744f3b1d8982cb72fd31 100644 (file)
@@ -830,6 +830,7 @@ void Rotor::calcLiftFactor(float* v, float rho, State *s)
 
     //store the gravity direction
     Glue::geodUp(s->pos, _grav_direction);
+    s->velGlobalToLocal(_grav_direction, _grav_direction);
 }
 
 void Rotor::findGroundEffectAltitude(Ground * ground_cb,State *s)