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
Advanced IMU SensorCo-Simulation CouplingGPS SensorIdeal RADAR SensorMesh SensorMQTT Output ControllerPowertrain SensorData RecordersRoads SensorTech Screens ControllerTyre Barrier ControllerVehicle Systems Coupling

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 Referencevecontrollertech

Co-Simulation Coupling

Interface for connecting BeamNG.tech to external simulation environments. Enables synchronized data exchange with tools like MATLAB/Simulink, CarMaker, or custom co-simulation frameworks via shared memory or network protocols.

Interface for connecting BeamNG.tech to external simulation environments. Enables synchronized data exchange with tools like MATLAB/Simulink, CarMaker, or custom co-simulation frameworks via shared memory or network protocols.


Public API

FunctionDescription
stop()Gracefully terminates the network connection and closes all sockets.

Hooks

HookDescription
init(dataEncoded)Sets up the network sockets and calculates synchronization timing for low-latency coupling.
update(dt)primary synchronization loop. Manages the exchange of vehicle state and external control signals within the required timing window.
updateWheelsIntermediate(dt)Applies received external torques directly to the vehicle's wheels before the physics solver step.

See Also

  • Vehicle Systems Coupling — External systems bridge
  • MQTT Output — MQTT telemetry streaming

Advanced IMU Sensor

BeamNG.tech inertial measurement unit providing high-frequency acceleration, angular velocity, and orientation data. Simulates a 6-DOF IMU with configurable noise, bias, and update rates for realistic sensor modeling.

GPS Sensor

BeamNG.tech sensor providing high-frequency GPS positioning data. Converts the vehicle's simulation-space position to spherical coordinates (longitude/latitude) relative to a configurable map origin. Buffers readings for external co-simulation consumers.

On this page

Public APIHooksSee Also