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

Visual Ropes Reference

Module defined in `lua/common/jbeam/sections/vropes.lua`. Processes visual rope definitions from JBeam data, creating rendered rope objects attached between props.

Module defined in lua/common/jbeam/sections/vropes.lua. Processes visual rope definitions from JBeam data, creating rendered rope objects attached between props.


Exports

Functions

M.process(objID, vehicleObj, vehicle)

Processes the vropes section, creating visual rope objects connecting two prop anchor points. Configures rope appearance (radius, color, segments, material) and physics behavior (slack, gravity, spring/damp).

  • Parameters:
    • objID - number - Vehicle object ID
    • vehicleObj - userdata - C++ vehicle object
    • vehicle - table - Assembled vehicle data with vropes and props sections
  • Returns: self (module table, for chaining)

Internal Notes

  • Ropes are anchored to props by name via findPropIdByName, which searches vehicle.props for matching name field.
  • Visual rope properties:
    • dirA/dirB: direction vectors (default vec3(0,0,-1))
    • radius: rope thickness
    • color: RGBA color
    • segments: subdivision count
    • material: rendering material
    • slack: rope looseness
    • gravity: gravity multiplier
    • spring/damp: physics simulation parameters
  • Created via createRopeVisual() / getRopeVisual(id) global functions.
  • Prop anchors use vehiclePropIdA / vehiclePropIdB (prop CIDs).

See Also

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

Paints Reference

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

Wheels Reference

Module defined in `lua/common/jbeam/sections/wheels.lua`. Constructs wheel geometry (nodes and beams) from JBeam wheel definitions. The largest file in the jbeam subsystem (~2000 lines).

On this page

ExportsFunctionsM.process(objID, vehicleObj, vehicle)Internal NotesSee Also