8,804
edits
m (→Translate) |
(Correct offset influence, add a nice table.) |
||
Line 584: | Line 584: | ||
=== Translate === | === Translate === | ||
The same as [[#Textranslate|textranslate]], but this animation moves a whole object (so including fixed textures). The example below will move an object | The same as [[#Textranslate|textranslate]], but this animation moves a whole object (so including fixed textures). The example below will move an object in the y-direction: | ||
{| class="wikitable" border="0" cellspacing="0" | |||
!Property value | |||
!Output | |||
|- | |||
| -1 | |||
| -2.5 | |||
|- | |||
| 0 | |||
| 2.5 | |||
|- | |||
| 1 | |||
| 7.5 | |||
|} | |||
<source> | <source> | ||
Line 592: | Line 606: | ||
<property>controls/seat/pilot/position-norm</property> | <property>controls/seat/pilot/position-norm</property> | ||
<factor>5</factor> | <factor>5</factor> | ||
<offset-m> | <offset-m>2.5</offset-m> | ||
<axis> | <axis> | ||
<x>0</x> | <x>0</x> | ||
Line 600: | Line 614: | ||
</animation> | </animation> | ||
</source> | </source> | ||
* '''factor:''' is optional. | * '''factor:''' is optional. |