The most important non-aircraft object for flying is the windsock, so
I've made an extremely simplistic one and put it in
$FG_ROOT/Models/Airport.  You can place one (or more) at your
favourite airport like this:

  <model>
   <name>Windsock</name>
   <path>Models/Airport/windsock.xml</path>
   <longitude-deg>-75.686</longitude-deg>
   <latitude-deg>45.332</latitude-deg>
   <elevation-ft>300</elevation-ft>
  </model>

The sock itself is rigid rather than collapsible, and it simply
rotates with the wind direction and tilts from 75deg down for no wind
to straight out for 15kt.  That's not right -- at 6kt, it should be
inclined only 30deg down for a standard windsock -- but at least it's
something.

By the way, here's a nice trick for placing objects.  Start with
something like this:

  <tmp>
   <lon>-75.686</lon>
   <lat>45.332</lat>
   <elev>300</elev>
  </tmp>
  <model>
   <name>Windsock</name>
   <path>Models/Airport/windsock.xml</path>
   <longitude-deg-prop>/tmp/lon</longitude-deg-prop>
   <latitude-deg-prop>/tmp/lat</latitude-deg-prop>
   <elevation-ft-prop>/tmp/elev</elevation-ft-prop>
  </model>

You can do the same thing for roll, pitch, and heading if you want.
Now, you can modify the /tmp/* properties in the property editor while
FlightGear is running to get the placement exactly right.  Once you're
happy with it, copy down the values, then quit and delete the /tmp
hierarchy, then put in the static values (as in my earlier example).
It's much faster than an edit-run-edit-run cycle.


Enjoy,


David

-- 
David Megginson
[EMAIL PROTECTED]

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to