]> git.mxchange.org Git - flightgear.git/commit
Need to call recalc() on the RigidBody during solution, or else it
authorandy <andy>
Sat, 1 Jun 2002 19:59:38 +0000 (19:59 +0000)
committerandy <andy>
Sat, 1 Jun 2002 19:59:38 +0000 (19:59 +0000)
commit04e083083da4851c6dee74b98453da5624b9c899
treecd9d9ba3afa96cddf0413640da4473d1ef04dd61
parent713920356bf75963ff5a988fce03233bcb508aaf
Need to call recalc() on the RigidBody during solution, or else it
won't apply the right gross weight due to fuel differences.

When solving for zero force, do so in the global frame, not the
aircraft's.  In principle, this shouldn't matter (zero is zero in all
frames), but in practice this should help to avoid oscillations.
Calculating lift as force perpendicular to the ground (and not the
wing plane) is clearly the Right Thing, anyway.

Also added support for a /yasim/gross-weight-lbs property, which
should be generically useful.
src/FDM/YASim/Airplane.cpp
src/FDM/YASim/FGFDM.cpp