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

Editor AI Visualization

Renders the AI navigation graph (navgraph) in the editor viewport with multiple color-coded draw modes for debugging road properties.

Renders the AI navigation graph (navgraph) in the editor viewport with multiple color-coded draw modes for debugging road properties.


Public API

FunctionSignatureDescription
M.enableDrawMode(mode, enabled)Enables/disables a draw mode (disables others when enabling)
M.getDrawMode()Returns the current active draw mode name or nil
M.onEditorGui()Renders the navgraph visualization each editor frame
M.onNavgraphReloaded()Clears cached nodes and marks quadtree for rebuild

Draw Modes

ModeColor SchemeDescription
drivabilityRed→Green gradient (0–1)Road drivability score
typeBlue (public) / Red (private)Road type classification
speedLimitRainbow gradient (0–36 m/s)Speed limit visualization
hiddenInNaviGreen (visible) / Red (hidden)Navigation visibility

Visualization Features

  • Node spheres with radius-based sizing
  • Edge prisms colored by selected draw mode
  • Lane direction arrows (+ / - lanes)
  • One-way road arrows
  • Dijkstra-based connectivity highlighting from hovered node
  • Mouse hover highlighting for nodes and links
  • Quadtree-based spatial query for efficient rendering

Usage Example

-- Enable drivability visualization
editor_aiViz.enableDrawMode("drivability", true)

-- Disable all visualization
editor_aiViz.enableDrawMode("drivability", false)

-- Check current mode
local mode = editor_aiViz.getDrawMode() -- "drivability" or nil

See Also

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

Editor AI Tests

Editor tool window for debugging AI path/route planning and tuning AI driving parameters. Two tabs: Route (navgraph routing) and AI Vehicles (parameter tuning).

Editor – Assembly Spline Tool

Full-featured editor tool for placing assemblies of props (meshes) along splines with configurable spacing, offsets, distribution patterns, and terraform integration.

On this page

Public APIDraw ModesVisualization FeaturesUsage ExampleSee Also