13,212
edits
(add animated gif) |
(+-first section) |
||
Line 1: | Line 1: | ||
[[File:787 wing flex hard landing.gif|thumb|Wingflex after a touchdown at 9 ft/s on a 787-8.]] | [[File:787 wing flex hard landing.gif|thumb|Wingflex after a touchdown at 9 ft/s on a 787-8.]] | ||
Wings of large aspect ratio tend to behave similar to a spring. They bend under load and oscillate for a while when the load changes, for example in a turn, during turbulence, or on touchdown | The '''Wingflexer''' module aims at animating the 3-D model of a wing in a somewhat realistic fashion. Wings of large aspect ratio tend to behave similar to a spring. They bend under load and oscillate for a while when the load changes, for example in a turn, during turbulence, or on touchdown. The method used is a significant improvement over what has been described [[Howto:Implement_wing_flex|here]]. However, the actual model animation part is identical and will not be covered. | ||
Including this in your aircraft is fairly straightforward, but obtaining plausible parameters can require some research and trial-and-error. We will give an example (the 787) below. | Including this in your aircraft is fairly straightforward, but obtaining plausible parameters can require some research and trial-and-error. We will give an example (the 787) below. | ||
Introduced in FG 3.5, there are two implementations available. The first, which this article is focused on, uses autopilot/property rules. It is therefore very optimized and should be your first choice. The second implementation uses Nasal. It is a bit more flexible in the sense that it could also be applied to AI aircraft. | Introduced in FG 3.5, there are two implementations available. The first, which this article is focused on, uses autopilot/property rules. It is therefore very optimized and should be your first choice. The second implementation uses Nasal. It is a bit more flexible in the sense that it could also be applied to AI aircraft. | ||
== Physical model == | == Physical model == | ||
Line 184: | Line 183: | ||
=== Nasal implementation === | === Nasal implementation === | ||
Code lives in Aircraft/Generic/wingflexer.nas, see comment therein. | Code lives in Aircraft/Generic/wingflexer.nas, see comment therein. | ||
== TODO == | == TODO == |