Howto:Animate models: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 586: Line 586:
   <object-name>Object</object-name>
   <object-name>Object</object-name>
   <property>autopilot/settings/target-speed-kt</property>
   <property>autopilot/settings/target-speed-kt</property>
  <bias>0.0001</bias>
   <factor>0.001</factor>
   <factor>0.001</factor>
   <step>100</step>
   <step>100</step>
Line 595: Line 596:
</source>
</source>


* '''bias:''' Adds an offset to the property before factor/step. A small value is needed to compensate for floating point accuracy<ref>{{cite web | title = Floating Point Accuracy | url = http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems }}</ref>.
* '''factor:''' property * factor * texture width/height = the amount of pixels that the texture should be translated. If your texture is 256 pixels, an textranslate of 0.1 will result in the texture moving with 26 pixels, into the direction specified by the axis settings.
* '''factor:''' property * factor * texture width/height = the amount of pixels that the texture should be translated. If your texture is 256 pixels, an textranslate of 0.1 will result in the texture moving with 26 pixels, into the direction specified by the axis settings.
* '''step:''' the step size at which the texture is translated. If this is set to 0.1, the texture will only be translated at 0.1, 0.2, 0.3 etc.
* '''step:''' the step size at which the texture is translated. If this is set to 0.1, the texture will only be translated at 0.1, 0.2, 0.3 etc.

Navigation menu