> I'm looking for documentation about AI objects. Maybe someone can help : I
> want to be able to create AI objects within my code on the fly, to be able
> to move them and let FG draw them.
> Does somebody has an idea ? remarks ?
> Can somebody point me on doc ?

There is some here:

    http://www.seedwiki.com/wiki/flight_gear/ai_model.cfm?wpid=141766

but a problem with rendering XML in wiki makes them hard to read.

Right now there are two instances where AI objects are created on-the-fly.  
One is in the submodels manager (see /source/src/AIModel/submodels.cxx).  
These are ballistic AI objects the emanate from the user airplane.  Currently 
this is used for contrails, smoke, flares, tracers, etc.

The other instance is Durk's Traffic Manager, which creates AI aircraft based 
on a schedule, and creates flightplans for them.  This provides ongoing 
airline traffic.


Dave

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to