NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Namespace NWH.VehiclePhysics2.Input

    Classes

    InputManagerVehicleInputProvider

    Vehicle input provider implementation for Unity's legacy Input Manager system, supporting keyboard, mouse, and gamepad inputs through traditional input axes and buttons.

    InputSystemVehicleInputProvider

    Vehicle input provider implementation for Unity's new Input System, supporting modern input devices with improved action-based input handling and automatic device switching.

    MobileVehicleInputProvider

    Vehicle input provider implementation for mobile platforms, supporting touch controls, on-screen buttons, steering wheels, and device accelerometer/gyroscope input.

    VehicleInputActions

    Provides programmatic access to UnityEngine.InputSystem.InputActionAsset, UnityEngine.InputSystem.InputActionMap, UnityEngine.InputSystem.InputAction and UnityEngine.InputSystem.InputControlScheme instances defined in asset "Packages/com.nwh.vehiclephysics/Runtime/VehicleController/Input/InputProviders/InputSystem/VehicleInputActions.inputactions".

    VehicleInputHandler

    Central input management system that handles vehicle control inputs from various sources including keyboard/mouse, gamepad, mobile touch, and custom input providers.

    VehicleInputProviderBase

    Abstract base class for all vehicle input providers, defining the interface for vehicle control inputs such as throttle, steering, braking, and auxiliary functions.

    Structs

    VehicleInputActions.VehicleControlsActions

    Provides access to input actions defined in input action map "Vehicle Controls".

    VehicleInputStates

    Container structure for all vehicle input values and button states, normalized to standard ranges.

    Interfaces

    VehicleInputActions.IVehicleControlsActions

    Interface to implement callback methods for all input action callbacks associated with input actions defined by "Vehicle Controls" which allows adding and removing callbacks.

    Enums

    MobileVehicleInputProvider.HorizontalAxisType

    Defines the input method used for horizontal steering control.

    MobileVehicleInputProvider.VerticalAxisType

    Defines the input method used for throttle and brake control.

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