82
edits
(→property-multiply: property-interpolate) |
|||
Line 57: | Line 57: | ||
<value type="string">OFF</value> | <value type="string">OFF</value> | ||
</binding> | </binding> | ||
=== property-interpolate === | |||
Interpolates to a value with a given rate of change. | |||
<binding> | |||
<command>property-interpolate</command> | |||
<property>/controls/flight/aileron-trim</property> | |||
<value type="double">0</value> | |||
<rate>0.5</rate><!-- 2 seconds to 0 from 1 or -1 --> | |||
</binding> | |||
You can also interpolate to a value given by a property. | |||
<binding> | |||
<command>property-interpolate</command> | |||
<property>/controls/flight/aileron-trim</property> | |||
<property>/controls/flight/default-aileron-trim</property><!-- the value to interpolate to --> | |||
<rate>0.5</rate><!-- 2 seconds to 0 from 1 or -1 --> | |||
</binding> | |||
=== property-multiply === | === property-multiply === |
edits