Howto:Animate canopy or doors: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 2: Line 2:


Create a canopy object that uses the method in aircraft.door for animation.
Create a canopy object that uses the method in aircraft.door for animation.
In a Nasal file that loads at start-up add:
In a Nasal file of the aircraft that loads at start-up add:
<syntaxhighlight lang="php">
<syntaxhighlight lang="php">
var canopy = aircraft.door.new ("/controls/canopy/", 5);
var canopy = aircraft.door.new ("/controls/canopy/", 5);
82

edits

Navigation menu