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
Automatic GearboxCentrifugal ClutchCombustion EngineCombustion Engine ThermalsCompressorCVT GearboxDCT GearboxDifferentialElectric MotorElectric ServoElectric WinchPowertrain Components OverviewFriction ClutchGeneric Torque ProviderHydraulic AccumulatorHydraulic CylinderHydraulic PumpHydraulic WinchLinear ActuatorManual GearboxMulti-ShaftNitrous Oxide InjectionPowertrain Base DeviceRange BoxSequential GearboxShaftSplit ShaftSuperchargerTorque ConverterTorsion ReactorTurbochargerViscous Clutch

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 Referencevepowertrain

Shaft

Simple rotational connection between powertrain components. Transmits torque and speed with configurable friction and inertia. Used for driveshafts, half-shafts, and axles.

Simple rotational connection between powertrain components. Transmits torque and speed with configurable friction and inertia properties. Used for driveshafts, half-shafts, axles, and any direct mechanical connection in the powertrain.


Inherited Methods

This device inherits all methods and properties from the Powertrain Base Device.

Public API

VariableTypeDescription
outputPortstableMap of active output ports (single output).
deviceCategoriestableCategories identifying this as a shaft type device.

Usage Example

-- Access a driveshaft
local driveshaft = powertrain.getDevice("driveshaft")

-- Check rotational speed
local rpm = driveshaft.outputAV1 * 9.549

See Also

  • Split Shaft — Shaft with two outputs
  • Multi-Shaft — Shaft with multiple outputs
  • Differential — Speed-compensating power split
  • Powertrain Base Device — Inherited base methods

Sequential Gearbox

High-performance sequential transmission for rapid gear changes. Supports dog-ring engagement, flat-shift capability, and gear whine audio simulation.

Split Shaft

Powertrain device that splits rotational power into two output paths. Used for driving two systems from a single input, such as front and rear axles from a transfer case.

On this page

Inherited MethodsPublic APIUsage ExampleSee Also