YASim: Difference between revisions

Jump to navigation Jump to search
1,180 bytes added ,  3 May 2020
→‎Landing gear: Example of typical landing gears configuration.
(→‎piston-engine: add example)
(→‎Landing gear: Example of typical landing gears configuration.)
Line 234: Line 234:
* '''reduce-friction-by-extension:''' at full extension the friction is reduced by this relative value. 0.7 means 30% friction at full extension. If you specify a value greater than one, the friction will be zero before reaching full extension. Defaults to "0"
* '''reduce-friction-by-extension:''' at full extension the friction is reduced by this relative value. 0.7 means 30% friction at full extension. If you specify a value greater than one, the friction will be zero before reaching full extension. Defaults to "0"
* '''ignored-by-solver:''' with the on-water/on-solid tags you can have more than one set of gears in one aircraft, If the solver (who automatically generates the spring constants) would take all gears into account, the result would be wrong. E. G. set this tag to "1" for all gears, which are not active on runways. Defaults to "0". You can not exclude all gears in the solving process.
* '''ignored-by-solver:''' with the on-water/on-solid tags you can have more than one set of gears in one aircraft, If the solver (who automatically generates the spring constants) would take all gears into account, the result would be wrong. E. G. set this tag to "1" for all gears, which are not active on runways. Defaults to "0". You can not exclude all gears in the solving process.
<syntaxhighlight lang="xml" line>
  <!-- front gear -->
  <gear x="0.0" y="0.0" z="-0.205"
    spring="0.9"
    damp="0.8"
    dfric="0.9"
    sfric="1.1"
    compression="0.051">
        <control-input axis="/controls/flight/rudder" control="STEER" square="true" src0="-1.0" src1="1.0" dst0="-0.3" dst1="0.3"/>
        <control-input axis="/controls/gear/brake-right" control="BRAKE" split="true"/>
        <control-input axis="/controls/gear/brake-parking" control="BRAKE" split="true"/>
  </gear>
  <!-- two rear gears -->
  <gear x="-0.4" y="0.25" z="-0.205"
    spring="0.9"
    damp="0.8"
    dfric="0.9"
    sfric="1.1"
    compression="0.051">
        <control-input axis="/controls/gear/brake-right" control="BRAKE" split="true"/>
        <control-input axis="/controls/gear/brake-parking" control="BRAKE" split="true"/>
  </gear>
  <gear x="-0.4" y="-0.25" z="-0.205"
    spring="0.9"
    damp="0.8"
    dfric="0.9"
    sfric="1.1"
    compression="0.051">
        <control-input axis="/controls/gear/brake-left" control="BRAKE" split="true"/>
        <control-input axis="/controls/gear/brake-parking" control="BRAKE" split="true"/>
  </gear>
</syntaxhighlight>


==== Launchbar ====
==== Launchbar ====
34

edits

Navigation menu