RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Editor AI TestsEditor AI VisualizationEditor – Assembly Spline ToolAsset BrowserAsset DeduplicatorAsset Management ToolSFX Previewer (Audio Events List)Audio Ribbon EditorAutoSaveBarriers EditorBiome ToolBuilding EditorBulk RenameCamera BookmarksCamera TransformCamera Path EditorCEF HelperCo-Simulation Signal EditorCrawl Data EditorCreate Object ToolDataBlock EditorDecal EditorDecal Spline EditorDocumentation HelperDrag Race EditorDrift Data EditorDrive Path EditorDynamic Decals Tool (Vehicle Livery Creator)Engine Audio DebugExtensions DebugExtensions EditorFFI Pointer Leak TestFile DialogFlowgraph EditorForest EditorForest ViewEditor Gizmo HelperEditor Ground Model Debug HelperEditor Headless Editor TestEditor Icon OverviewEditor ImGui C DemoEditor InspectorEditor Layout ManagerEditor Level SettingsEditor Level ValidatorEditor LoggerEditor Log HelperEditor MainEditor Main MenuEditor Main ToolbarEditor Main UpdateMap Sensor EditorMaster Spline EditorMaterial EditorMeasures Inspector HeaderMesh Editor (Base)Mesh Road EditorMesh Spline EditorMission EditorMission PlaybookMission Start Position EditorMulti Spawn Manager (Vehicle Groups)Navigation Mesh EditorEditor News MessageObject Tool (Object Select Edit Mode)Object To Spline EditorParticle EditorPerformance Profiler / Camera RecorderPhysics ReloaderPrefab Instance EditorEditor PreferencesRace / Path EditorRally EditorRaycast Test Editor ToolRenderer Components Editor ToolRender Test Editor ToolResource Checker Editor ToolRiver EditorRoad Architect EditorRoad DecorationsRoad Editor (Decal Road)Road Network ExporterRoad River Cache HandlerRoad River GUIRoad Spline EditorRoad Template EditorRoad UtilitiesScene TreeScene ViewScreenshot Creator BootstrapScript AI EditorScript AI ManagerSensor Configuration EditorSensor DebuggerShape EditorShortcut LegendSidewalk Spline EditorSites EditorSlot Traffic EditorSuspension Audio DebugTech Server ManagerTerraform ToolTerrain And Road ImporterTerrain EditorTerrain Materials EditorText EditorTool ManagerTool ShortcutsTraffic DebugTraffic ManagerTraffic Signals EditorUndo History ViewerVehicle Bridge TestVehicle Detail ViewerVehicle Editor MainEditor - VisualizationEditor Viz HelperEditor Water Object HelperEditor Windows Manager

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 ReferenceGE Extensionseditor

Sensor Configuration Editor

Editor for configuring vehicle sensor setups - supports Camera, LiDAR, Ultrasonic, RADAR, IMU, GPS, Ideal RADAR, Roads, Powertrain, and Mesh sensors with interactive placement, gizmo-based positioning

Editor for configuring vehicle sensor setups - supports Camera, LiDAR, Ultrasonic, RADAR, IMU, GPS, Ideal RADAR, Roads, Powertrain, and Mesh sensors with interactive placement, gizmo-based positioning, live/edit modes, and Python code export.


Public API (Key Functions)

FunctionSignatureDescription
M.onEditorGui()Main GUI - vehicle list, sensor management, properties, previews
M.onEditorInitialized()Registers edit mode and all windows; loads preview icons
M.onSerialize / M.onDeserialized() / (data)Session persistence

Sensor Types

TypePlacementUnique Per VehiclePreview
CameraClick-on-meshNoColor/depth/annotation outputs
LiDARClick-on-meshNo-
UltrasonicClick-on-meshNoDistance bar visualization
RADARClick-on-meshNo-
IMUClick-on-meshNo6-axis acceleration/angular velocity plots
GPSClick-on-meshNo-
Ideal RADARAuto-placedYes (one per vehicle)-
Roads InfoAuto-placedYes-
Powertrain InfoAuto-placedYes-
Mesh DistributionAuto-placedYes-

Key Features

  • Interactive placement: Click on vehicle mesh to place sensors
  • Gizmo editing: Translate/rotate sensors with axis gizmo (local/world alignment)
  • Live mode: Toggle sensors between edit (adjustable) and live (data-producing) modes
  • POI snapping: Snap sensors to COG, axle midpoints, front/rear bumper
  • Camera properties: Resolution, FOV, near/far planes, render flags (color/depth/annotations/instance)
  • LiDAR modes: Full 360°, LFO (low-frequency oscillation), Static
  • IMU preview: Real-time 6-axis plots (acceleration + angular velocity)
  • Python export: Generate BeamNGpy configuration code
  • Save/Load: JSON configuration files per vehicle

Dependencies

ModulePurpose
editor/tech/sensorConfiguration/utilitiesCoordinate conversion, drawing helpers
editor/tech/sensorConfiguration/conversionsSensor creation, live mode switching
tech/techUtilsMigration and serialization utilities
tech/cameraPreviewCamera sensor output visualization

Notes

  • Requires Research global (tech/research license)
  • Uses Research.SensorMatrixManager.intersectRayMesh() for placement raycasting
  • Sensor position stored as vehicle-relative coefficients, not world-space
  • Multiple preview windows can be open simultaneously per sensor type

Module Variables

  • sensorConfigs (any) - Module variable.

Functions

doesContainSensorType(sensors, t)

Handles does contain sensor type.

  • sensors (any)
  • t (any)

Returns: boolean - false

numberOfSensorType(sensors, t)

Handles number of sensor type.

  • sensors (any)
  • t (any)

Returns: ctr, ids

updateCollectedVehiclePOIData(collectedData)

Updates collected vehicle poi data.

  • collectedData (any)

onSensorCreated(sensorType, sensorId)

Callback for sensor created event.

  • sensorType (any)
  • sensorId (any)

onSensorRemoved(sensorType, sensorId)

Callback for sensor removed event.

  • sensorType (any)
  • sensorId (any)

Returns: self

Additional Exports

  • M.doesContainSensorType
  • M.numberOfSensorType
  • M.onSensorCreated
  • M.onSensorRemoved
  • M.sensorConfigs
  • M.updateCollectedVehiclePOIData

See Also

  • Editor AI Tests - Related reference
  • Editor AI Visualization - Related reference
  • Editor – Assembly Spline Tool - Related reference
  • World Editor Guide - Guide

Script AI Manager

Editor window for managing scriptAI recordings across all vehicles - supports recording, playback, looping, save/load of track files, and real-time progress visualization.

Sensor Debugger

Camera sensor debug window - lists all active camera sensors and provides preview toggle for visualizing their color, annotation, and depth outputs.

On this page

Public API (Key Functions)Sensor TypesKey FeaturesDependenciesNotesModule VariablesFunctionsdoesContainSensorType(sensors, t)numberOfSensorType(sensors, t)updateCollectedVehiclePOIData(collectedData)onSensorCreated(sensorType, sensorId)onSensorRemoved(sensorType, sensorId)Additional ExportsSee Also