On Sunday 18 June 2006 00:18, dene maxwell wrote: > Hi > I'm trying to get an xml animation going for AI taildraggers, > as the AI FDM doesn't seem to cater for this. I have copied > the rotate animation example from the Model-HowTo; > > <!-- ***** TailDragger ***** --> > <animation> > <type>rotate</type> > > <property>/ai/models/aircraft/velocities/true-airspeed-kt</pro >perty> <factor>1</factor> > <offset>1</offset> > <min>0.0</min> > <max>13.0</max> > <center> > <x-m>2</x-m> > <y-m>0</y-m> > <z-m>-1.5</z-m> > </center> > <axis> > <x>0</x> > <y>1</y> > <z>0</z> > </axis> > <!-- > <condition> > <less-than> > > <property>/ai/models/aircraft/velocities/true-airspeed-kt</pro >perty> <value>30</value> > </less-than> > </condition> > --> > </animation> > > but the min and max values don't have any effect... the plane > rotates about the wheels as the speed varies...to the extent > at 180 knots it's flying backwards and upside down ...very > amusing first time but now just frustrating... > > ...what am I doing wrong in this animation? > > TIA > > :-D ene
I haven't looked at animations for AI models but you don't appear to be specifying an object to rotate. I just had a quick look at some of the rotate animations I've done and I don't use <min>, <max> or <offset> entries as the inputs are normalised to 1.0, so you do everything via the factor, scaled to 1.0, and interpolation tables. LeeE _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
