]> git.mxchange.org Git - flightgear.git/commit
This patch only affects aircraft (AI Models) that have no predefined
authorcurt <curt>
Fri, 16 Jun 2006 14:22:21 +0000 (14:22 +0000)
committercurt <curt>
Fri, 16 Jun 2006 14:22:21 +0000 (14:22 +0000)
commit943b7b22a703a98e3c1a947884e05976103ba395
treec6f776f04f2cbf5554d5517b29be8d36c5e40163
parentc5a7267206a4d9724f487d0de3edae17b4b0d621
This patch only affects aircraft (AI Models) that have no predefined
flightplan.  Such aircraft are given some initial conditions that they
fly with.  They proceed on in "freeflight" mode indefinitely.  For example,
there is a refueling demo where the tanker starts at 3000', 280 kts, and
in a 15 degree bank, and then continues to orbit indefinitely.

For these aircraft with no flightplan, I have added several control nodes in
controls/flight that allow a script or menu or external application to set
heading, altitude, bank angle, and speed.  This permits some level of interactive
or scripted control over AI aircraft.
src/AIModel/AIAircraft.cxx
src/AIModel/AIBase.cxx