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

Camera Path Editor

Editor tool for creating and editing camera paths with spline interpolation. Supports marker-based keyframes, replay linking, vehicle tracking, frustum visualization, camera preview, and overlay guide

Editor tool for creating and editing camera paths with spline interpolation. Supports marker-based keyframes, replay linking, vehicle tracking, frustum visualization, camera preview, and overlay guides.


Public Functions

FunctionDescription
M.onEditorGui()Main per-frame UI and 3D rendering
M.onEditorInitialized()Registers edit mode, window, and menu items

Key Features

  • Spline Paths - Camera paths defined by time-stamped marker keyframes
  • Replay Linking - Synchronize camera paths with vehicle replays
  • Vehicle Tracking - Track vehicle center with configurable XYZ offset
  • Frustum Visualization - 3D camera frustum cones at each marker
  • Camera Preview - Real-time preview window with configurable aspect ratio
  • Overlay Modes - Rule of thirds, 16
    , 9
    composition guides
  • Cut Support - Markers can be flagged as cuts (instant camera jumps)
  • LOD Spline Resolution - Adaptive spline detail based on camera distance

Dependencies

  • M.dependencies = { 'core_camera' }

Overlay Modes

ModeDescription
Rule of ThirdsClassic thirds grid overlay
16
Aspect
Widescreen letterbox guide
9
Aspect
Portrait/vertical guide

Marker Data

Each camera path marker contains:

  • Position and rotation (quaternion)
  • Time stamp (seconds from start)
  • FOV (field of view)
  • Cut flag (instant jump vs smooth interpolation)
  • Optional tracking target

Spline Resolution by Distance

DistanceResolution
< 300m0.1
< 500m0.2
< 1000m0.25
> 1000m0.5

Module Variables

  • currentPath (table|nil) - The currently selected camera path object.
  • dependencies (table) - { 'core_camera' }

Functions

onExtensionLoaded()

Callback for extension loaded event.

onEditorInitialized()

Registers the camera path edit mode, tool windows, and keyboard shortcuts.

onEditorGui()

Main per-frame UI rendering, 3D marker visualization, spline drawing, and input handling.

onClientStartMission()

Resets the selected path to nil on mission start.

onPreRender()

Updates aspect ratio and draws camera overlay guides.

onUpdate(dtReal, dtSim, dtRaw)

Per-frame update callback (currently unused, reserved for future use).

  • dtReal (number)
  • dtSim (number)
  • dtRaw (number)

selectPath(path)

Selects a camera path and loads its associated replay if available.

  • path (table|nil) - Camera path object (from core_paths), or nil to deselect

getTrackingOffset()

Returns the vehicle tracking offset table if any offset is non-zero.

Returns: table|nil - {x, y, z} offset or nil if all zero

Additional Exports

  • M.getTrackingOffset
  • M.onClientStartMission
  • M.onExtensionLoaded
  • M.onPreRender
  • M.onUpdate
  • M.selectPath

See Also

  • cameraBookmarks - Quick camera position bookmarks
  • cameraTransform - Camera transform copy/paste

Camera Transform

Minimal editor tool for getting, setting, and copying the free camera transform as a JSON string.

CEF Helper

Minimal editor extension that manages CEF (Chromium Embedded Framework) UI visibility when entering/exiting editor mode. Currently disabled for release due to track editor bugs.

On this page

Public FunctionsKey FeaturesDependenciesOverlay ModesMarker DataSpline Resolution by DistanceModule VariablesFunctionsonExtensionLoaded()onEditorInitialized()onEditorGui()onClientStartMission()onPreRender()onUpdate(dtReal, dtSim, dtRaw)selectPath(path)getTrackingOffset()Additional ExportsSee Also