Ampere K. Hardraade wrote:
I'm sorry, but I still don't get it.

Take a look at FlightGear/data/Aircraft/f16/Models/f16.xml:

<?xml version="1.0"?>

<PropertyList>

 <path>f16.ac</path>
 <offsets>
  <z-m>0.15</z-m>
  <pitch-deg>0.3</pitch-deg>
 </offsets>

<!-- Submodels -->
 <model>
  <name>RudderPedals</name>
  <path>Aircraft/f16/Models/rudder_pedals.xml</path>
  <offsets>
   <x-m>-5.05</x-m>
   <y-m>0.0</y-m>
   <z-m>0.14</z-m>
  </offsets>
 </model>

 <model>
  <name>Throttle</name>
  <path>Aircraft/f16/Models/throttle.xml</path>
  <offsets>
   <x-m>-4.25</x-m>
   <y-m>-0.435</y-m>
   <z-m>0.185</z-m>
  </offsets>
 </model>


<!-- Panels --> <model> <name>ICP</name> <path>Aircraft/f16/Models/icp.ac</path> <offsets> <x-m>-4.635</x-m> <y-m>0.0</y-m>

...

You can see it is possible to include another animation file in the main animation file just by pointing to the second order animation file (rudder pedals and throttle in this case) instead of pointing to the geometry file directly.

I believe this is what you want, isn't it?

Erik

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

Reply via email to