YASim: Difference between revisions

Jump to navigation Jump to search
210 bytes added ,  21 March 2022
→‎Torus-shaped contact surface on next: Updated with recent change to allow backwards compatibility.
(→‎gear: Describe new support for torus tyre surface on next.)
(→‎Torus-shaped contact surface on next: Updated with recent change to allow backwards compatibility.)
Line 289: Line 289:
On next as of 2022-3-19 one can specify a torus-shaped tyre contact surface using these new parameters:
On next as of 2022-3-19 one can specify a torus-shaped tyre contact surface using these new parameters:


* '''wheel-x'''
* '''wheel-y'''
* '''wheel-z'''
* '''wheel-radius''' (default 0)
* '''wheel-radius''' (default 0)
* '''tyre-radius''' (default 0)
* '''tyre-radius''' (default 0)
Line 295: Line 298:
* '''wheel-axle-z'''
* '''wheel-axle-z'''


The contact point will be the lowest point on a torus with radius '''tyre-radius''' wrapped around a wheel with radius '''wheel-radius''' centred on point '''(x, y, z)''' with orientation defined by '''wheel-axle'''. This contact point will depend on the aircraft's orientation relative to the ground.
The contact point will be the lowest point on a torus with radius '''tyre-radius''' wrapped around a wheel with radius '''wheel-radius''' centred on point '''(wheel-x, wheel-y, wheel-z)''' with orientation defined by '''wheel-axle'''. This contact point will depend on the aircraft's orientation relative to the ground.


If not specified, '''wheel-axle''' defaults to (0, 1, 0), giving a conventional vertical wheel in line with the aircraft. Other values may allow modelling of, for example, a Bf109's non-vertical undercarriage.
If not specified, '''wheel-axle''' defaults to (0, 1, 0), giving a conventional vertical wheel in line with the aircraft. Other values may allow modelling of, for example, a Bf109's non-vertical undercarriage.


Default values of zero for wheel-radius and tyre-radius give a fixed contact point at (x, y, z) as before.
Default values of zero for wheel-radius and tyre-radius give a fixed contact point at (wheel-x, wheel-y, wheel-z).
 
If an aircraft also specifies an old-style contact point with '''(x, y, z)''' it will work with both new and old builds of Flightgear.


==== Launchbar ====
==== Launchbar ====
219

edits

Navigation menu