Howto:Animated jetways: Difference between revisions

Jump to navigation Jump to search
→‎Adding support in aircraft: Finish this part of the article
(→‎Adding support in aircraft: Finish this part of the article)
Line 24: Line 24:


= Adding support in aircraft =
= Adding support in aircraft =
{{WIP}}
 
Open up your aircraft's main model in your favorite 3d modeling software (the author prefers [[Blender]]). Move the model around to account for any offsets you have in the main model file. Then get the coordinates of the door.
 
[[File:Animated-jetway-tutorial.jpg]]
 
Now add the following code in your aircraft's -set.xml (remember to merge the tags properly):
 
<syntaxhighlight language="xml">
<sim>
  <model>
  <door>
    <position-x-m type="float">X-M</position-x-m>
    <position-y-m type="float">Y-M</position-y-m>
    <position-z-m type="float">Z-M</position-z-m>
    <jetway-hood-deg type="float">HOOD-DEG</jetway-hood-deg>
  </door>
  </model>
</sim>
</syntaxhighlight>
 
Where '''X-M''', '''Y-M''', and '''Z-M''' are the X/Y/Z coordinates of the door in meters and '''HOOD-DEG''' is the jetway hood rotation amount. To specify more doors, just add more door elements.


= Adding animated jetways in scenery =
= Adding animated jetways in scenery =
483

edits

Navigation menu