AI wake turbulence

From FlightGear wiki
Jump to: navigation, search

The AI wake turbulence feature, introduced in v2017.3.1, produces turbulence when you fly behind AI aircraft.

Enabling

Go into the AI Menu, and then to Traffic and Scenario Settings. Then enable AI wake.

This only work with flying behind AI Traffic aircraft; it does not work with multiplayer or scenario aircraft, including tankers. The aircraft must be a JSBSim aircraft, and it must be added by the aircraft developer.

Adding to an aircraft

Add these lines somewhere in JSB under external reactions:

    <!-- wake turbulence from other AI plane (direction is controlled by properties automatically) -->
    <force name="ai-wake" frame="BODY">
        <location unit="M">
            <!-- Center of the main wing leading edge -->
            <x> ? </x>
            <y> ? </y>
            <z> ? </z>
        </location>
        <direction>
            <x>   0.0 </x>
            <y>   0.0 </y>
            <z>   0.0 </z>
        </direction>
    </force>
    <moment name="ai-wake" frame="BODY">
        <direction>
            <x>   0.0 </x>
            <y>   0.0 </y>
            <z>   0.0 </z>
        </direction>
    </moment>

The only thing you need to adjust is "Center of the main wing leading edge"; which should of course match the aircraft. (replace the '?' marks)