NWH Vehicle Physics 2
Search Results for

    Show / Hide Table of Contents

    ABS Module

    ABSModule inspector.

    Anti-lock Braking System (ABS) prevents wheel lockup during braking by modulating brake torque when longitudinal slip exceeds a threshold. This maintains steering control and reduces stopping distance on most surfaces.

    How It Works

    ABS monitors each wheel's slip continuously during braking. When slip exceeds the threshold, brake torque is progressively reduced proportional to how far the slip extends into the defined range. The system operates independently on each wheel for optimal performance across different surface conditions.

    Settings

    Property Range Description
    Slip Threshold 0-1 Longitudinal slip value at which ABS begins intervention. Default: 0.16
    Slip Range 0.001-1 Range over which brake torque is progressively reduced. Larger = less sensitive
    Lower Speed Threshold m/s Minimum speed for ABS activation. Below this, ABS is disabled for low-speed maneuvering
    Active Read-only Indicates whether ABS is currently modulating brake torque on any wheel

    Typical Values

    Racing ABS (maximum performance):

    slipThreshold: 0.12
    slipRange: 0.1
    

    Road Car ABS (balanced):

    slipThreshold: 0.16
    slipRange: 0.2
    

    Off-Road ABS (less intervention):

    slipThreshold: 0.25
    slipRange: 0.3
    

    Behavior Notes

    • Automatically disables below the speed threshold for controlled low-speed maneuvering
    • Does not interfere with handbrake operation (for drifting/parking)
    • Deactivates during rev limiter engagement to prevent conflicts
    • Works with other brake torque modifiers in the vehicle

    Events

    • absActivated - Unity event triggered each physics frame while ABS is actively modulating brake torque. Use for dashboard lights, ABS pump sounds, or telemetry.

    Scripting

    // Check if ABS is currently active
    bool isAbsActive = vehicleController.moduleManager.abs.active;
    
    // Adjust threshold at runtime
    vehicleController.moduleManager.abs.slipThreshold = 0.12f;
    
    // Subscribe to ABS events
    vehicleController.moduleManager.abs.absActivated.AddListener(OnABSActivated);
    

    Related

    • TCS Module - Traction Control System
    • ESC Module - Electronic Stability Control
    • Brakes - Brake system configuration
    • Module Manager - Module system overview
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics