Hi All
I am trying to place a panel that has two knobs on it using the following in 
the aircraft models
xml file

<model>
        <name>panel</name>
        <path>Aircraft/737-300/temp/du-panel.xml</path>
        <offsets>
            <x-m>-6.694</x-m>
            <y-m>-0.0</y-m>
            <z-m>0.90</z-m>
            <pitch-deg>0</pitch-deg>
        </offsets>
    </model>
In the du-panel.xml file I have this

<animation>
  <type>rotate</type>
  <object-name>knob1.003</object-name>
  <property>/controls/flight/aileron</property>
  <interpolation>
        <entry><ind>0.0</ind><dep>0</dep></entry>
            <entry><ind>0.5</ind><dep>180</dep></entry>
            <entry><ind>1.0</ind><dep>360</dep></entry>
        </interpolation>

  <center>
   <x>0.00</x>
   <y>0.171</y>
   <z>-0.007</z>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
  <animation>
  <type>rotate</type>
  <object-name>du-knob1-lh</object-name>
  <property>/controls/flight/aileron</property>
  <interpolation>
        <entry><ind>0.0</ind><dep>0</dep></entry>
            <entry><ind>0.5</ind><dep>180</dep></entry>
            <entry><ind>1.0</ind><dep>360</dep></entry>
        </interpolation>

  <center>
   <x>0.049</x>
   <y>-0.014</y>
   <z>-0.007</z>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
I am just using the aileron property as a make shift to get the knobs to turn.
My problem is the knobs rotate around the center as determined by the model 
statement above.
It does not mater what I put in the <center> statement the knobs rotate around 
the same point.
What am I missing here.
Thanks in advance

Cheers
Innis
                                          
_________________________________________________________________
Video chat with Windows Live Messenger Learn how
http://windowslive.ninemsn.com.au/messenger/article/870686/video-chat-with-messenger
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to