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
Virtual Speed Slip Provider

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 ReferencevecontrollerdrivingDynamicssupervisorsslipProviders

Virtual Speed Slip Provider

Calculates virtual wheel slip values based on speed differences between driven and non-driven wheels. Provides slip ratio data to the traction control supervisor for intervention decisions.

Calculates virtual wheel slip values based on speed differences between driven and non-driven wheels. Provides slip ratio data to the traction control supervisor for intervention decisions.


Public API

FunctionDescription
calculateSlipTractionControl(wheelGroup, steeringCoef, velocityOffset, dt)Computes current slip ratios for a wheel group using the vehicle's true speed estimate.
calculateSlipABSControl(wheelData, velocityOffset, dt)Computes slip for a single wheel, specifically for ABS logic.
registerCMU(cmu)Links to the CMU.
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
module.init(jbeamData)Initializes the controller from JBeam data.
module.initSecondStage(jbeamData)Second-stage initialization after all controllers are loaded.
module.initLastStage(jbeamData)Final-stage initialization after all controllers and powertrains are ready.
module.reset()Resets the controller to its initial state.
module.updateGFX(dt)Per-frame update for visual state and UI synchronization.

See Also

  • Traction Control — Parent traction supervisor

Motor Torque Control Component

Engine/motor torque reduction component for driving dynamics interventions. Reduces drive torque as commanded by traction or yaw supervisors to limit wheelspin or correct stability issues.

STM Yaw Estimate Provider

Single-Track Model (STM) based yaw rate reference provider. Calculates the expected yaw rate for the current speed and steering angle using a bicycle model, providing the target reference that the yaw control supervisor compares against actual yaw rate.

On this page

Public APIHooksSee Also