> Andy Ross > > Vivian Meazza wrote: > > Yes, this problem was interesting. I set up 2 weights thus: > > > > /yasim/weights/tank-100gal-lbs[0] /yasim/weights/tank-100gal-lbs[1] > > Are you sure you got the <weight> definition right in the > YASim configuration file? The property definitions look > fine, but they're only half the problem. You need to tell > YASim to read those properties, and where to put the mass > value that it finds. >
Yes, pretty certain, coded thus: <weight x="-6.85" y="2.83" z="-0.33" size="0.2" mass-prop="/yasim/weights/pylon-inboard-lbs"/> <weight x="-6.85" y="-2.83" z="-0.33" size="0.2" mass-prop="/yasim/hunter/weights/pylon-inboard-lbs"/> <weight x="-6.4" y="2.83" z="-0.72" size="0.5" mass-prop="/yasim/weights/tank-100gal-lbs[0]"/> <weight x="-6.4" y="-2.83" z="-0.72" size="0.5" mass-prop="/yasim/weights/tank-100gal-lbs[1]"/> YASim didn't complain anyway, and the model flies just fine. My analysis is that the problem lies here: <yasim> <weights> <pylon-inboard-lbs type="double">45</pylon-inboard-lbs> <tank-100gal-lbs type="double">150</tank-100gal-lbs> <!-- dry weight --> --> <tank-100gal-lbs type="double">150</tank-100gal-lbs> <!-- dry weight --> </weights> </yasim> I think it should work, and it _looks_ as if it does: certainly when you browse internal properties it looks right, but I can't set the second [1] tank to zero. Regards Vivian _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel