* Roberto Inzerillo -- Thursday 09 November 2006 20:29:
> I have to point out the beaufighter toggle_cdoor function is not 
> completely correct (it doesn't work right if you toggle the animation 
> while the door is already rotating). 

That's what the aircraft.door() class is for (-> $FG_ROOT/Nasal/aircraft.nas).

  var canopy = aircraft.door.new("sim/model/foo/canopy", 5);
  canopy.open();
  canopy.close();
  ...

See the bo105 for further examples.

m.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to