NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Class AirSteerModuleWrapper

    MonoBehaviour wrapper for the AirSteer module. Goes on the GameObject that has the VehicleController; handles MonoBehaviour lifecycle and serialization while the contained module does the aerial control.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    ModuleWrapper
    AirSteerModuleWrapper
    Namespace: NWH.VehiclePhysics2.Modules.AirSteer
    Assembly: NWH.VehiclePhysics2.dll
    Syntax
    [Serializable]
    [DisallowMultipleComponent]
    public class AirSteerModuleWrapper : ModuleWrapper

    Fields

    module

    The air steer module instance that handles aerial vehicle control.

    Declaration
    public AirSteerModule module
    Field Value
    Type Description
    AirSteerModule

    Methods

    GetModule()

    Gets the air steer module instance.

    Declaration
    public override VehicleComponent GetModule()
    Returns
    Type Description
    VehicleComponent

    The AirSteerModule instance as a VehicleComponent.

    Overrides
    ModuleWrapper.GetModule()

    SetModule(VehicleComponent)

    Sets the air steer module instance.

    Declaration
    public override void SetModule(VehicleComponent module)
    Parameters
    Type Name Description
    VehicleComponent module

    The VehicleComponent to set as the air steer module.

    Overrides
    ModuleWrapper.SetModule(VehicleComponent)
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics