Wingflexer: Difference between revisions

Jump to navigation Jump to search
nasal implementation, link
m (→‎How to add to your aircraft: make equation less ambigous, wording)
(nasal implementation, link)
Line 1: Line 1:
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. This article describes the Wingflexer module, which aims at animating the 3-D model of a wing in a somewhat realistic fashion. The method used is a significant improvement over what has been described here. However, the actual model animation part is identical and will not be covered.
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. This article describes the Wingflexer module, which aims at animating the 3-D model of a wing in a somewhat realistic fashion. 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. One uses autopilot/property rules, is therefore very optimized and should be your first choice. The other 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 180: Line 180:


=== Nasal implementation ===
=== Nasal implementation ===
Code lives in Aircraft/Generic/wingflexer.nas
Code lives in Aircraft/Generic/wingflexer.nas, see comment therein.
 


== TODO ==
== TODO ==
153

edits

Navigation menu