Gerard ROBIN > > Le mardi 15 novembre 2005 à 13:21 +0100, Erik Hofman a écrit : > > Josh Babcock wrote: > > > > > Perhaps you could save the value sim/time/elapsed-sec when the > submodel > > > is created and then subtract that from the current sim/time/elapsed- > sec > > > whenever you wanted to know the age of that particular submodel. Then > a > > > little nasal to create another prop that the scale animation is based > on. > > > > The sim/time/elapsed-sec property is 0 when the AIModel is created, I > > don't see the problem. > > > > Erik > > > In a wider request we need, within AI submodel animations which could > depend on any binding Command and or any A/C fcs property >
Already the case - submodels can be generated by any property, and are - see spifire_submodels.xml for an example and read the README.submodels. V. _______________________________________________ Flightgear-users mailing list Flightgear-users@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d