NWH Aerodynamics
Search Results for

    Show / Hide Table of Contents

    Wind

    Wind simulation affects aerodynamic calculations by modifying relative airflow directions and speeds. Both Airfoil and AerodynamicDragObject components respond to wind, creating realistic flight behavior in varying wind conditions.

    Wind is implemented as a global singleton system, meaning only one wind generator can be present in the scene at a time. This ensures consistent wind conditions across all aircraft and aerodynamic objects.

    Setup

    • Attach a wind generator component to any GameObject in the scene (typically a global manager object)
    • Only one wind generator should be active per scene
    • Wind data is globally accessible to all Airfoil and AerodynamicDragObject components
    • Wind works in conjunction with Atmosphere to simulate realistic environmental conditions

    Wind Generators

    Wind generators define how wind behaves in the scene. The system supports built-in implementations and custom extensions.

    Random Wind Generator

    See RandomWindGenerator for more information about the built-in random wind generator implementation.

    Custom Wind Generators

    By inheriting from NWH.Aerodynamics.Environment.WindGeneratorBase, custom wind generators can be created to implement specific wind behavior patterns for specialized simulations or procedural wind systems.

    • Edit this page
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics