RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

AI Module ReferenceBackwards Compatibility Module ReferenceBdebug Module ReferenceBdebugImpl Module ReferenceBeamstate Module ReferenceBullettime Module ReferenceController Module ReferenceDamageTracker Module ReferenceDrivetrain Module ReferenceElectrics Module ReferenceElectrics Custom Value ParserEnergyStorage Module ReferenceExtensions Module ReferenceFire Module ReferenceVehicle Engine True GlobalsGuihooks Module ReferenceGUI Streams Module ReferenceHTML Texture Module ReferenceHydros Module ReferenceInput Module ReferenceJBeam-Lua Integration GuideMapmgr Module ReferenceMaterial Module ReferenceBeamNG Math & Unit Conversions Referenceobj (Vehicle C++ Object)PartCondition Module ReferenceParticlefilter Module ReferenceParticles Module ReferencePowertrain Module ReferenceVehicle Property & Module TreeProps Module ReferenceProtocols Module ReferenceRecovery Module ReferenceScriptAI Module ReferenceSensors Module ReferenceSounds Module ReferenceStreams Module ReferenceThrusters Module Reference`v` (Vehicle Data & JBeam)Wheels Module Reference
4WD / Transfer Case ControllerAdvanced Coupler ControlAirplane Control SurfacesAxle Lift ControllerBeacon Spin ControllerBeam NavigatorBypass Dampers ControllerController TemplateControl ModesDrag TimerDrive ModesDummy ControllerElectronic Stability Control (ESC)ETK Gauges ControllerVehicle Controllers OverviewHydraulic Suspension ControllerInput/Output Demo ControllerJATO (Jet Assisted Take-Off)Lightbar ControllerLine LockLogger TemplateNitrous Oxide InjectionPlayer ControllerPneumatics System ControllerPower Steering ControllerPyrotechnic Charge ControllerSBR Gauges ControllerShift Lights ControllerTire Pressure ControlTrailer Landing Feet ControllerTwo-Step Launch ControlVivace Gauges ControllerWendover Gauges Controller
Control Management Unit (CMU)
Traction Control SupervisorYaw Control Supervisor

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferencevecontrollerdrivingDynamicssupervisors

Traction Control Supervisor

Advanced traction control system (TCS) that monitors wheel slip and coordinates multiple actuators to maintain traction. Can reduce engine torque, apply individual wheel brakes, and adjust differential settings to prevent wheelspin during acceleration.

Advanced traction control system (TCS) that monitors wheel slip and coordinates multiple actuators to maintain traction. Can reduce engine torque, apply individual wheel brakes, and adjust differential settings to prevent wheelspin during acceleration.


State Fields

FieldTypeDescription
isActive, isActingbooleanTrue if the supervisor is functional and currently mitigating wheel slip.
tractionControlledWheelstableList of wheels currently under traction control supervision.

Public API

FunctionDescription
registerComponent(component)Registers a module that can act on the vehicle to reduce slip.
registerSlipProvider(slipProvider)Registers a source for wheel-specific slip metrics.
registerCMU(cmu)Links the supervisor to the CMU hub.
module.setDebugMode(debugEnabled)Sets the debug mode.
module.shutdown()Shuts down the module and cleans up resources.
module.setParameters(parameters)Sets the parameters.
module.setConfig(configTable)Sets the config.
module.getConfig()Returns the config.

Hooks

HookDescription
init(jbeamData)Initializes internal tracking tables for components and slip providers.
initSecondStage(jbeamData)Identifies motors and wheels to be supervised and initializes their data structures.
updateFixedStep(dt)Primary loop. Calculates reference velocity offsets, gathers slip data from providers, and executes control logic via registered components.
updateGFX(dt)Updates the dashboard TCS indicator and manages warning light pulses.
module.initLastStage(jbeamData)sort components and slip providers based on their order
module.reset()Resets the controller to its initial state.

See Also

  • Yaw Control — Yaw stability supervisor
  • Brake Control — Brake intervention component
  • Motor Torque Control — Engine torque reduction
  • ESC — Legacy stability control

Virtual Sensors

Software-derived sensor values computed from physical sensor data. Estimates quantities that aren't directly measured, such as body slip angle, tire slip ratios, and surface friction estimates using observer/estimator algorithms.

Yaw Control Supervisor

Advanced electronic stability control that monitors vehicle yaw rate and body slip angle. Coordinates brake interventions, differential adjustments, and active aero to correct oversteer and understeer, keeping the vehicle on the driver's intended path.

On this page

State FieldsPublic APIHooksSee Also