RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

AI Module ReferenceBackwards Compatibility Module ReferenceBdebug Module ReferenceBdebugImpl Module ReferenceBeamstate Module ReferenceBullettime Module ReferenceController Module ReferenceDamageTracker Module ReferenceDrivetrain Module ReferenceElectrics Module ReferenceElectrics Custom Value ParserEnergyStorage Module ReferenceExtensions Module ReferenceFire Module ReferenceVehicle Engine True GlobalsGuihooks Module ReferenceGUI Streams Module ReferenceHTML Texture Module ReferenceHydros Module ReferenceInput Module ReferenceJBeam-Lua Integration GuideMapmgr Module ReferenceMaterial Module ReferenceBeamNG Math & Unit Conversions Referenceobj (Vehicle C++ Object)PartCondition Module ReferenceParticlefilter Module ReferenceParticles Module ReferencePowertrain Module ReferenceVehicle Property & Module TreeProps Module ReferenceProtocols Module ReferenceRecovery Module ReferenceScriptAI Module ReferenceSensors Module ReferenceSounds Module ReferenceStreams Module ReferenceThrusters Module Reference`v` (Vehicle Data & JBeam)Wheels Module Reference
JBeam System OverviewJBeam Stage 2 Loader

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 Referencevejbeam

JBeam System Overview

The `jbeam/` directory contains the logic for parsing, compiling, and pushing JBeam data to the physics engine.

The jbeam/ directory contains the logic for parsing, compiling, and pushing JBeam data to the physics engine.

Core Modules

  • Stage 2 Loader: The main interface for finalizing vehicle data and committing it to the physics core.

Data Flow

  1. Stage 1 (GE Context): JBeam files are read from disk and merged into a single large table.
  2. Stage 2 (Vehicle Context): The v global (linked to jbeam/stage2.lua) processes the merged table.
  3. Commit: Data is pushed to the C++ core via the obj binding.

Vehicle Editor Nodes

Support functions for the in-game JBeam node editor. Provides node selection, manipulation, and visualization tools for real-time vehicle structure editing.

JBeam Stage 2 Loader

Module defined in `lua/vehicle/jbeam/stage2.lua`. This is the primary interface for committing JBeam data to the C++ physics engine. In the vehicle VM, this module is exposed via the global `v`.

On this page

Core ModulesData Flow