NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Namespace NWH.VehiclePhysics2.VehicleGUI

    Classes

    AnalogGauge

    Analog gauge that displays a value by rotating a needle GameObject, like a speedometer or tachometer. Requires a child GameObject named "Needle".

    DashGUIController

    Reads data from the VehicleController and updates the dashboard gauges and indicator lights. Enables/disables the canvas when the vehicle is enabled/disabled.

    DashLight

    Dashboard warning light driven off a UI Image. Hold time plus fade on the falling edge keeps intermittent signals from flickering.

    DigitalGauge

    Text-based digital gauge for numbers or strings, with an optional progress bar, numeric smoothing and flexible formatting. Requires a child GameObject named "Readout" (Text), plus an optional "Line" (Image) for the progress bar.

    SteeringWheel

    Draggable on-screen steering wheel for touch input. Returns steering in [-1, 1] and self-centers on release. Based on code by yasirkula from Unity Forums.

    Enums

    DashGUIController.DataSource

    Determines where the dashboard gets its vehicle data from.

    DigitalGauge.GaugeType

    Determines whether the gauge displays numerical or textual data.

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