RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Debug DrawingGPU Mesh StructsImGui FFIMath Structs (FFI)FFI C DefinitionsPID ControllersCSV LibraryDelay LineDequeDevelopment UtilitiesEvent ReferenceExtension SystemSignal FiltersGraph PathfindingUI BridgeInput Filter Constants2D Bilinear InterpolationIntrospectionJBeam Pretty PrinterJSON AST ParserSJSON ParserJSON Debug ParserJSON Pretty PrinterK-D Tree (2D Boxes)K-D Tree (3D)K-D Tree (3D)Lua SerializerC++/Lua BindingLua CoreLua ProfilerMath LibraryParticlesQuadtreeSettingsTCP ServerTimer SchedulerUtility Library
ExpressionParser ReferenceGroups ReferenceInteraction ReferenceIO ReferenceLinks ReferenceLoader ReferenceMaterials ReferenceOptimization ReferenceScaling ReferenceSectionMerger ReferenceSlotSystem ReferenceTableSchema ReferenceUtils ReferenceVariables Reference
Assorted ReferenceCamera ReferenceColors ReferenceEvents ReferenceLicensePlatesSkins ReferenceMeshs ReferenceMirror ReferenceNodeBeam ReferencePaints ReferenceVisual Ropes ReferenceWheels Reference

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 Referencecommonjbeamsections

NodeBeam Reference

Module defined in `lua/common/jbeam/sections/nodeBeam.lua`. Processes core structural sections: nodes (position calculation), hydros (hydraulic actuators), ropes, and quads (pressure volumes).

Module defined in lua/common/jbeam/sections/nodeBeam.lua. Processes core structural sections: nodes (position calculation), hydros (hydraulic actuators), ropes, and quads (pressure volumes).


Exports

Functions

M.process(vehicle)

Processes four core structural sections:

  1. Nodes: Converts posX/posY/posZ to vec3 pos, applying node transforms via getPosAfterNodeRotateOffsetMove
  2. Hydros: Creates hydro beams (type BEAM_HYDRO) with rate/limit calculations from extent values
  3. Ropes: Processes rope sections into sequential beam chains between listed nodes
  4. Quads: Converts quad definitions into triangle pairs for pressure surfaces
  • Parameters:
    • vehicle - table - Assembled vehicle data with nodes, hydros, ropes, quads sections
  • Returns: self (module table, for chaining)

Internal Notes

  • Node processing removes posX/posY/posZ after creating pos vec3.
  • Hydro properties: inRate, outRate (default to 2), autoCenterRate, inLimit/outLimit (computed from inExtent/outExtent divided by beam length).
  • Ropes: each rope definition lists node IDs; sequential beams are created between consecutive nodes with BEAM_ANISOTROPIC type.
  • Quads: each quad (4 node IDs) is split into 2 triangles. Uses diagonal selection based on node distance for better triangulation. Beam types are BEAM_ANISOTROPIC for edges, NORMALTYPE for diagonals.

See Also

  • Assorted Reference - Related reference
  • Camera Reference - Related reference
  • Colors Reference - Related reference
  • Common Libraries Overview - Guide

Mirror Reference

Module defined in `lua/common/jbeam/sections/mirror.lua`. Processes mirror definitions from JBeam data, creating C++ mirror objects on the vehicle.

Paints Reference

Module defined in `lua/common/jbeam/sections/paints.lua`. Applies the metallic paint system to the vehicle object from configuration.

On this page

ExportsFunctionsM.process(vehicle)Internal NotesSee Also