> Anyone got any ideas?
Hi Stuart,

The correct usage would be

 <animation>
    <type>textranslate</type>
    <object-name>vs-digit5</object-name>
    <property>/autopilot/KAP140/settings/target-pressure-rate-fpm</property>
    <factor>0.1</factor>
    <step>1</step>
    <axis>
      <x>1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>textranslate</type>
    <object-name>vs-digit4</object-name>
    <property>/autopilot/KAP140/settings/target-pressure-rate-fpm</property>
    <factor>0.01</factor>
    <step>10</step>
    <axis>
      <x>1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>textranslate</type>
    <object-name>vs-digit3</object-name>
    <property>/autopilot/KAP140/settings/target-pressure-rate-fpm</property>
    <factor>0.001</factor>
    <step>100</step>
    <axis>
      <x>1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>textranslate</type>
    <object-name>vs-digit2</object-name>
    <property>/autopilot/KAP140/settings/target-pressure-rate-fpm</property>
    <factor>0.0001</factor>
    <step>1000</step>
    <axis>
      <x>1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>

Why?
The order of computation is (example for digit2, propertyvalue=500):
1. get property value (500)
2. apply stepping ( 500 step 1000 = 0)
3. apply factor (0 * 0.0001 = 0 --> don't shift texture)
or for propertyvalue=5500
1. get property value (500)
2. apply stepping ( 5500 step 1000 = 5000 )
3. apply factor (5000 * 0.0001 = 0.5 shift texture by 50%)

Your values were
1. get property value (500)
2. apply stepping (500 step 0.1 = 500 )
3. apply factor (500 * 0.0001 = 0.05 --> shift texture by 5%, wrong.)

Does this make some sense?
I wonder why this has worked before?

Torsten

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to