Thanks David. WillyB
On Wednesday 30 July 2003 18:18, David Megginson wrote: > WillyB writes: > > The fulcrum of the needle needs to be at the base of the gauge but > > I can only get it to rotate around the center. > > > > I tried these things in the xml file: oil-pressure.xml (which I > > made for the gauge). > > Take a look at examples from the aircraft XML files. Here's one: > > <animation> > <type>rotate</type> > <object-name>LeftYoke</object-name> > <property>/controls/flight/aileron</property> > <factor>-45</factor> > <center> > <x-m>-0.23</x-m> > <y-m>-0.28</y-m> > <z-m>-0.13</z-m> > </center> > <axis> > <x>1.0</x> > <y>0.0</y> > <z>0.0</z> > </axis> > </animation> > > Notice that you have to provide the centre and axis of rotation. > > > All the best, > > > David _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
