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:
parent
1691d3ba19
commit
9d318461b9
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue