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

Sequential Gearbox

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

High-performance sequential transmission for rapid, sequential gear changes. Supports dog-ring engagement, flat-shift capability, and detailed gear whine audio simulation. Typically used in race cars and high-performance applications.


Inherited Methods

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

Instance Methods

MethodSignatureDescription
setGearIndex(device, index)Shifts to the specified gear index with sequential logic and synchronization.
setLock(device, enabled)Toggles the mechanical lock between input and output.
onBreak(device)Handles structural failure of the transmission.

Public API

VariableTypeDescription
outputPortstableMap of active power output ports.
deviceCategoriestableCategories identifying this as a gearbox type device.
gearRationumberCurrently applied reduction ratio.
gearIndexnumberCurrently engaged gear index.
targetGearIndexnumberGear index targeted for a deferred shift.
isBrokenbooleanFailure status of the transmission.
maxGearIndexnumberHighest available gear index.
minGearIndexnumberLowest gear index (typically -1 for reverse).
gearCountnumberTotal number of forward gears.
frictionnumberBase internal resistance.
lockCoefnumberDegree of mechanical engagement (0 to 1).
FunctionSignatureDescription
new(jbeamData) → deviceCreates a new sequential gearbox instance from JBeam configuration.
velocityUpdate(device, dt)Physics step: speed transmission through the gear set.
torqueUpdate(device)Physics step: torque transmission from input to output.

Usage Example

-- Access the sequential gearbox
local gearbox = powertrain.getDevice("gearbox")

-- Shift up
gearbox:setGearIndex(gearbox.gearIndex + 1)

-- Shift down
gearbox:setGearIndex(gearbox.gearIndex - 1)

-- Check current gear
local currentGear = gearbox.gearIndex

See Also

  • Manual Gearbox — H-pattern manual transmission
  • DCT Gearbox — Dual-clutch rapid shifting
  • Friction Clutch — Clutch device
  • Powertrain Base Device — Inherited base methods

Range Box

Transfer case providing high and low range gear selections for 4WD vehicles. Multiplies the gear ratios for off-road crawling or highway driving.

Shaft

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

On this page

Inherited MethodsInstance MethodsPublic APIUsage ExampleSee Also