David Megginson wrote:

OK, finally I understand the problem. What we need to do, then, is
apply the euler angles to the CG rather than the origin when rotating
the 3D model. We need only two steps:

1. have the FDMs report the current CG relative to the origin (if they
don't already); and
2. add a couple of transforms to acmodel.cxx so that we use the CG as
the centre of rotation.

This will be especially nice for modelling out-of-balance situations
(like 500lb of baggage in the back of a 172) -- everything will come
out looking right. It will also be valuable for aircraft that have
massive balance shifts, like a military aircraft dropping ordnance. I
don't expect that this will be a big job. What does everyone else
think?
Ultimately we can ask the aero designers to add just *one* other location, being the (pre defined) 3D model location of origin.

This takes the weight off of the 3D designers and places it where it belongs, at the back of the aero designes.

The 3D model location of origin should be available *inside* the aero config file, but should be propagated to FlightGear.

(All, if you ask me).

Erik


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Reply via email to