On Wednesday 08 November 2006 09:11, Roberto Inzerillo wrote:
> Ah, there it is :-) Now I have to understand how all those Yasim stuff
> work :-(

Not really - if the thing you want to animate is not directly driven by the 
FDM (the landing gear is, for example) then you can just write some nasal to 
control a property created for the purpose.  Examples are aircraft canopies 
and cockpit items like some levers and handles.

> 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.
Nasal is what you need.

> 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 use the nasal "interpolate" function to do that if I understand you 
correctly.  You can write a nasal function using interpolate to manipulate 
any property you want and call it from a keybinding (see for example the 
beaufighter gunsight & door toggle functions.)

Cheers,

AJ

-------------------------------------------------------------------------
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

Reply via email to