1
0
Fork 0

It's a direction, not an axis. The z direction is the one that should

occur full force for turbulence.
This commit is contained in:
david 2003-07-13 20:18:51 +00:00
parent 1691d3ba19
commit 9d318461b9

View file

@ -277,8 +277,8 @@ void FGAtmosphere::Turbulence(void)
Magnitude += MagnitudeAccel*rate*State->Getdt();
vDirectiondAccelDt.Normalize();
vDirectiondAccelDt(eX) *= vDirectiondAccelDt(eX);
vDirectiondAccelDt(eY) *= vDirectiondAccelDt(eY);
vDirectiondAccelDt(eZ) *= vDirectiondAccelDt(eZ);
vDirectionAccel += vDirectiondAccelDt*rate*TurbRate*State->Getdt();
vDirectionAccel.Normalize();
vDirection += vDirectionAccel*rate*State->Getdt();