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

Mesh Spline Editor

Editor tool for placing static meshes along splines. Supports multiple mesh components (main + 3 aliases), start/end caps, random/round-robin distribution, jitter, vertical offset, terrain conforming,

Editor tool for placing static meshes along splines. Supports multiple mesh components (main + 3 aliases), start/end caps, random/round-robin distribution, jitter, vertical offset, terrain conforming, polygon drawing, bitmap import, and terraform operations.


Public API

FunctionSignatureDescription
M.setSelectedSplineIdx(idx)Sets the selected spline index
M.setSelectedNodeIdx(idx)Sets the selected node index
M.onSerialize() → tableSerializes all mesh splines for scene save
M.onDeserialized(data)Deserializes mesh splines from scene data
M.onEditorGui()Main per-frame GUI and rendering callback
M.onEditorInitialized()Registers edit mode and tool window
M.onClientEndMission()Cleans up all mesh splines on map exit

Key Features

  • Multi-Component Meshes: Main mesh + up to 3 aliases with configurable rotation presets
  • Distribution Modes: Round-robin or weighted random selection of components
  • Start/End Caps: Optional cap meshes at spline endpoints
  • Jitter Controls: Forward, right, and up axis randomization per mesh placement
  • Mesh Audition: Browse and select static meshes from file system
  • Polygon Drawing: Define closed areas for mesh population
  • Bitmap Import: Import spline paths from PNG skeleton masks
  • Presets: Built-in presets (Concrete Barrier, Plastic Barrier, Metal Fence, etc.)

Mesh Target Slots

SlotDescription
mainPrimary mesh component
alias1-3Alternative mesh components
startStart cap mesh
endEnd cap mesh

Usage Example

-- Activate via editor toolbar: "Mesh Spline"
-- Add a spline, place nodes, select a mesh from the audition browser
-- Adjust spacing, jitter, and vertical offset
-- Meshes are automatically placed along the spline in the scene tree

Dependencies

  • editor/meshSpline/splineMgr - Spline data management
  • editor/meshSpline/populate - Mesh placement along splines
  • editor/meshSpline/import - Import from existing scene objects
  • editor/toolUtilities/* - Input, rendering, geometry, RDP, polygon

See Also

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

Mesh Road Editor

Editor extension for creating and editing MeshRoad objects. Thin wrapper around the shared `meshEditor` base module, configured for MeshRoad-specific behavior.

Mission Editor

Main editor tool for creating, editing, and managing gameplay missions. Provides a full ImGui interface for mission properties, conditions, career setup, objectives, start triggers, and flowgraph inte

On this page

Public APIKey FeaturesMesh Target SlotsUsage ExampleDependenciesSee Also