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

Electric Motor

High-torque electric propulsion device with instant torque delivery and regenerative braking. Supports both primary propulsion and hybrid assist configurations.

High-torque electric propulsion device with instant torque delivery and regenerative braking capability. Supports both primary propulsion (BEV) and hybrid assist configurations. Draws power from energy storage devices (batteries) in the vehicle.


Inherited Methods

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

Public API

VariableTypeDescription
outputPortstableMap of active power output ports.
deviceCategoriestableCategories identifying this as a motor type device.

Usage Example

-- Access the electric motor
local motor = powertrain.getDevice("frontMotor")

-- Check motor RPM
local rpm = motor.outputAV1 * 9.549

-- Electric motors provide instant torque from 0 RPM
local torque = motor.outputTorque1

See Also

  • Combustion Engine — ICE alternative/hybrid partner
  • Electric Servo — Small electric actuator
  • Generic Torque Provider — Abstract torque source
  • Powertrain Base Device — Inherited base methods

Differential

Splits power between two output shafts while allowing speed differences. Supports open, locked, limited-slip (LSD), and active differential types for various drivetrain configurations.

Electric Servo

Small electric actuator device for auxiliary systems like power steering pumps, HVAC compressors, or active suspension adjusters.

On this page

Inherited MethodsPublic APIUsage ExampleSee Also