1
0
Fork 0

Add the ability to control turbulence rate as well as magnitude.

Square the normalized direction acceleration for the y and z axes, so
that turbulence predominantly affects pitch.

Bind to the /environment/turbulence/magnitude-norm and
/environment/turbulence/rate-hz properties in FlightGear.
This commit is contained in:
david 2003-07-13 20:26:00 +00:00
parent c63777e2ad
commit 6f9792af13
2 changed files with 9 additions and 9 deletions

View file

@ -124,7 +124,7 @@
<y>0</y>
<width>75</width>
<height>25</height>
<property>/environment/config/aloft/entry[4]/turbulence-norm</property>
<property>/environment/config/aloft/entry[4]/turbulence/magnitude-norm</property>
</slider>
<input>
@ -200,7 +200,7 @@
<y>0</y>
<width>75</width>
<height>25</height>
<property>/environment/config/aloft/entry[3]/turbulence-norm</property>
<property>/environment/config/aloft/entry[3]/turbulence/magnitude-norm</property>
</slider>
<input>
@ -276,7 +276,7 @@
<y>0</y>
<width>75</width>
<height>25</height>
<property>/environment/config/aloft/entry[2]/turbulence-norm</property>
<property>/environment/config/aloft/entry[2]/turbulence/magnitude-norm</property>
</slider>
<input>
@ -352,7 +352,7 @@
<y>0</y>
<width>75</width>
<height>25</height>
<property>/environment/config/aloft/entry[1]/turbulence-norm</property>
<property>/environment/config/aloft/entry[1]/turbulence/magnitude-norm</property>
</slider>
<input>
@ -428,7 +428,7 @@
<y>0</y>
<width>75</width>
<height>25</height>
<property>/environment/config/aloft/entry[0]/turbulence-norm</property>
<property>/environment/config/aloft/entry[0]/turbulence/magnitude-norm</property>
</slider>
<input>
@ -572,7 +572,7 @@
<y>0</y>
<width>75</width>
<height>25</height>
<property>/environment/config/boundary/entry[2]/turbulence-norm</property>
<property>/environment/config/boundary/entry[2]/turbulence/magnitude-norm</property>
</slider>
<input>
@ -648,7 +648,7 @@
<y>0</y>
<width>75</width>
<height>25</height>
<property>/environment/config/boundary/entry[1]/turbulence-norm</property>
<property>/environment/config/boundary/entry[1]/turbulence/magnitude-norm</property>
</slider>
<input>
@ -724,7 +724,7 @@
<y>0</y>
<width>75</width>
<height>25</height>
<property>/environment/config/boundary/entry[0]/turbulence-norm</property>
<property>/environment/config/boundary/entry[0]/turbulence/magnitude-norm</property>
</slider>
<input>

View file

@ -48,7 +48,7 @@
<width>200</width>
<height>25</height>
<label>turbulence</label>
<property>/environment/turbulence-norm</property>
<property>/environment/turbulence/magnitude-norm</property>
</slider>
<button>