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
Advanced Wheel DebugAero DebugVehicle APIChassis DataCouplingsCruise ControlDrag AIDynamic Vehicle DataDyno ClientESC CalibrationESC MeasurementVehicle Extensions OverviewGameplay InterfaceGameplay StatisticInput AnalyzerMQTT Grafana DemoOdometerOutGaugeOutSimPerfect LaunchPerformance LoggerSimple Trip AppSkeletonStraight LineTelemetry LoggerUT RecorderVehicle Performance DataVehicle Stats Logger
Adaptive Cruise Control (ACC)ADAS InputADAS UltrasonicAdvanced IMUDump Player InputGPS SensorIdeal RADAR SensorMesh SensorOBD EmulatorPlatooningPowertrain SensorRoads SensorTechCore Module ReferenceTrail SimTyre BarrierVehicle Points of InterestVehicle SearcherVehicle Systems CouplingWheel Forces

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 Referenceveextensionstech

Trail Sim

Automated vehicle maneuver simulation for trailer stability testing. Drives the vehicle at a set speed with configurable steering inputs to test trailer sway characteristics.

Automated vehicle maneuver simulation for trailer stability testing. Drives the vehicle at a set speed with configurable steering inputs to test trailer sway characteristics and emergency lane-change behavior.


Public API

FunctionSignatureDescription
startManeuver(speedKmh, steering1, steering2, steering3, steeringSmootherRate?, steeringSmootherAcc?)Starts an automated steering maneuver at the given speed with sequential steering angles.

Usage Example

-- Run a lane-change maneuver at 100 km/h
extensions.tech_trailSim.startManeuver(100, 0.05, 0.02, 0.01)

See Also

  • Straight Line — Heading maintenance
  • Couplings — Trailer coupling system

TechCore Module Reference

Extension defined in `lua/vehicle/extensions/tech/techCore.lua`. This is the **vehicle-side socket server** for BeamNG.tech's external research API. It opens a TCP connection that allows external tool

Tyre Barrier

Sensor extension that detects when vehicle tires cross defined barrier boundaries. Used for track limits detection and racing scenario enforcement.

On this page

Public APIUsage ExampleSee Also