NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    Speed Limiter Module

    SpeedLimiter module inspector.

    Prevents vehicles from exceeding a configured speed limit by cutting engine power.

    How It Works

    • Cuts engine power to zero when speed limit is reached
    • Does not apply brakes - vehicle coasts down naturally
    • Will not prevent downhill acceleration from gravity
    • Works in both forward and reverse directions (uses absolute speed)

    Configuration

    Property Description
    Speed Limit Maximum allowed speed before the limiter cuts engine power. Set to 0 to disable. Typical values (km/h): Delivery vans: 90-110, Buses: 80-100, Construction vehicles: 40-60
    Speed Units Unit for configuring the speed limit: ms (meters per second, Unity native), kmh (kilometers per hour), mph (miles per hour)
    Active Read-only status indicator showing whether the limiter is currently cutting power. Useful for UI indicators, visual effects, or audio cues

    Use Cases

    • Speed-restricted vehicles (delivery trucks, buses, construction equipment)
    • Racing regulations with speed caps by vehicle class
    • Gameplay mechanics (school zones, restricted areas)
    • AI vehicle behavior control
    • Tutorial or difficulty progression systems

    Comparison with Cruise Control

    Use SpeedLimiterModule to enforce a maximum speed cap. Use CruiseControlModule to maintain a target speed with automatic braking.

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