Am Mittwoch, den 08.11.2006, 10:11 +0100 schrieb Roberto Inzerillo: > > This is a property output from the YASim FDM. In the A-10-yasim.xml > > file you will find the following line in the nose gear tag: > > > > <control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/> > > > > This instructs YASim to place the result/output value of the "EXTEND" > > axis of the gear object (not the same as the axis input -- it can be > > scaled or offset, and interpolated through a transition-time period) > > into the specified proprty. > > > > Andy > Ah, there it is :-) Now I have to understand how all those Yasim stuff > work :-( > I just wanted to get an idea of how to make an airplane part move in > some specific situations (like e.g. the press of a key); Yasim is out of > the scope wight now. > > The gear movement works like that at the press of "g" and "G", so I took > that as a base for learning, but now things get complicated. Maybe > that's not a good example to learn from. I don't want to dig into flight > modeling simulation stuff now, it's too early. > > I'd like to simply bind the press of a key to a custom animation (a > rotation around an axis at a fixed speed, between two extreme positions, > in both directions), can you point me to a simple/basic example? > You can look at the Canberra or bf109 hood animation. There is a key binding int the *-set.xml file and a "func" section in the corresponding nasal file.
The A-10 has something similar in canopy.nas for the hood animation but it is more complicated, because the hood closes only while the switch is pressed. > Roberto > > Greetings Detlef > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel