NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Namespace NWH.VehiclePhysics2.Modules.CruiseControl

    Classes

    CruiseControlModule

    Holds a target speed with a PID controller on throttle, and on the brakes when applyBrakesWhenSpeeding is set. Forward motion only: it disengages when the vehicle stops or reverses, when the brake is pressed with deactivateOnBrake set, or on the cruise input.

    CruiseControlModuleWrapper

    MonoBehaviour wrapper that attaches CruiseControlModule to a VehicleController GameObject. The module uses a PID controller for automatic speed control.

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