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
Vehicle Editor - Toolbar
Adjustable Tech Car TunerAero DebugCrash TesterFlexbody DebugGeneral DataJBeam PickerVehicle Editor - Lights DebugVehicle Editor - Node Triangle Self Collision DetectorVehicle Editor - Powertrain InspectorVehicle Editor - Prop TransformerVehicle Editor - Raw Vehicle DataVehicle Editor - TCS DebugVehicle Editor - Vehicle SpawnerVehicle Editor - Scene View

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 ExtensionseditorvehicleEditorliveEditor

Flexbody Debug

Live editor app for inspecting and debugging flexbody meshes - visualises vertices, nodes, locator coordinates, and detects problematic vertices (spiking, lacking nearby nodes).

Live editor app for inspecting and debugging flexbody meshes - visualises vertices, nodes, locator coordinates, and detects problematic vertices (spiking, lacking nearby nodes).


Module: M (extensions.editor.vehicleEditor.liveEditor.veFlexbodyDebug)

FunctionDescription
M.open()Opens the flexbody debug window
M.onUpdate(dt)Draws UI with flexmesh selection, node/vertex picking, and analysis tools
M.onVehicleEditorRenderJBeams(dtReal, dtSim, dtRaw)Renders flexbody debug visualisation (vertices, nodes, locator lines)
M.onVehicleSwitched(oldVehicle, newVehicle, player)Switches to new vehicle's flexbody data
M.onVehicleSpawned(id)Clears cached data for respawned vehicle
M.onSerialize() / M.onDeserialized(data)Persists window open state
PropertyValue
M.menuEntry"Flexbody Debug"
M.dependencies{"editor_veMain"}

Modes

ModeDescription
MODE_DEFAULTShows all vertices and nodes of selected flexbody
MODE_PICKING_NODEClick to select a node; filters vertices to those using that node
MODE_PICKED_NODEShows picked node and its associated vertices
MODE_PICKING_VERTEXClick to select a vertex
MODE_PICKED_VERTEXShows vertex locator info: ref/nx/ny/nz nodes with coordinate axes
MODE_SHOW_VERTICES_LACKING_NODESHighlights vertices far from their nearest nodes

Analysis Tools

ToolDescription
Find vertices lacking nearby nodesIQR-based outlier detection for vertex-to-node distances
Find vertices with OOB coordsLocator coordinates outside ±0.5…1.5 range (potential spiking)

Usage Example

-- Open via Vehicle Editor > Live Editor > Flexbody Debug
extensions.editor_vehicleEditor_liveEditor_veFlexbodyDebug.open()

-- Single Flexmesh tab:
-- 1. Select a flexmesh from the dropdown or type to search
-- 2. All other meshes are hidden; selected mesh shown at configurable alpha
-- 3. Vertices rendered as colour-coded spheres (position → RGB mapping)
-- 4. Lines drawn from vertices to their locator nodes (opacity = distance)
-- 5. Unused nodes shown as dim orange spheres

-- Node picking:
-- * Click "Pick Node" then click a node in the viewport
-- * Only vertices assigned to that node are shown
-- * Node name and debug sphere drawn at node position

-- Vertex picking:
-- * Click "Pick Vertex" then click a vertex
-- * Shows locator info: ref node, nx/ny/nz axis nodes
-- * Draws coloured axis lines (R=X, G=Y, B=Z)
-- * Displays locator coordinates as text overlay

-- All Flexmeshes tab:
-- * "Find vertices lacking nearby nodes" - IQR statistical outlier test
--   Identifies vertices whose nearest node is unusually far away
-- * "Find vertices with OOB coords" - checks locator coordinates
--   Flags coords outside [-0.5, 1.5] as potential spike sources

-- Per-vehicle settings (favorite meshes) saved to:
-- /settings/editor/flexbodyDebug_settings.json

-- Rendering proximity filter: only vertices within maxDistFromCursor
-- (default 2.0m) of the mouse ray are rendered for performance

See Also

  • Adjustable Tech Car Tuner - Related reference
  • Aero Debug - Related reference
  • Crash Tester - Related reference
  • World Editor Guide - Guide

Crash Tester

Live editor app for spawning random vehicles at a picked location and launching them at a target speed for crash testing.

General Data

Live editor app displaying real-time vehicle telemetry: position, rotation, velocity, acceleration, airspeed, ground speed, environmental conditions, and damage.

On this page

Module: M (extensions.editor.vehicleEditor.liveEditor.veFlexbodyDebug)ModesAnalysis ToolsUsage ExampleSee Also