the offset parameter in the "rotate" animation is called <offset-deg>
This commit is contained in:
parent
7b6205d37b
commit
4a1b1a4d41
1 changed files with 3 additions and 3 deletions
|
@ -345,7 +345,7 @@ position from -18 degrees to 18 degrees:</p>
|
||||||
<p>If you wanted to reverse the direction of rudder movement, you
|
<p>If you wanted to reverse the direction of rudder movement, you
|
||||||
would use a factor of -18.</p>
|
would use a factor of -18.</p>
|
||||||
|
|
||||||
<p>There is also an <var>offset</var> property that can be useful for
|
<p>There is also an <var>offset-deg</var> property that can be useful for
|
||||||
starting the rotation from a point other than center. For example,
|
starting the rotation from a point other than center. For example,
|
||||||
let's say that you want the rudder to start 1% to the left rather than
|
let's say that you want the rudder to start 1% to the left rather than
|
||||||
dead center; you could specify that like this:</p>
|
dead center; you could specify that like this:</p>
|
||||||
|
@ -354,7 +354,7 @@ dead center; you could specify that like this:</p>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>Rudder</object-name>
|
<object-name>Rudder</object-name>
|
||||||
<property>/controls/rudder</property>
|
<property>/controls/rudder</property>
|
||||||
<offset>-0.01</offset>
|
<offset-deg>-0.01</offset-deg>
|
||||||
<factor>18</factor>
|
<factor>18</factor>
|
||||||
</animation>
|
</animation>
|
||||||
</pre></blockquote>
|
</pre></blockquote>
|
||||||
|
@ -370,7 +370,7 @@ complicated) example for the Cessna 310 landing gear:</p>
|
||||||
<object-name>NoseWheel</object-name>
|
<object-name>NoseWheel</object-name>
|
||||||
<property>/gear/gear[0]/position-norm</property>
|
<property>/gear/gear[0]/position-norm</property>
|
||||||
<factor>120</factor>
|
<factor>120</factor>
|
||||||
<offset>-1</offset>
|
<offset-deg>-1</offset-deg>
|
||||||
<min>-90</min>
|
<min>-90</min>
|
||||||
<max>0</max>
|
<max>0</max>
|
||||||
<center>
|
<center>
|
||||||
|
|
Loading…
Reference in a new issue