RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Activity ManagerAudio Bank ManagerAudio Ribbon SystemBus Route ManagerCamera SystemCore Chat (IRC)Core CheckpointsCore Command HandlerCoupler Camera ModifierDevices (RGB Peripherals)Dynamic PropsEnvironmentFlowgraph ManagerForestFun StuffGame ContextGame StateGround Marker ArrowsGround MarkersHardware InfoHighscoresHotlappingInventoryJob SystemLap TimesLevelsLoad Map CommandMetricsMod ManagerMultiseatMultiseat CameraMulti SpawnOnlinePaths (Camera Paths)Quick Access (Radial Menu)Recovery PromptRemote ControllerReplayRepositoryRope Visual TestScheme Command ServerCore SnapshotCore SoundsCore TerrainTraffic SignalsTrailer RespawnVehicle Active PoolingVehicle Bridge (GE ↔ VLua Communication)Vehicle MirrorsVehicle PaintsCore VehiclesVehicle TriggersVersion UpdateWeather SystemWindows Console
Input Action FilterInput ActionsInput BindingsInput CategoriesDeprecated ActionsVehicle SwitchingVibration DebugVirtual Input

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 ReferenceGE Extensionscoreinput

Vibration Debug

ImGui debug window for tuning force-feedback vibration parameters on the player vehicle. Adjusts wheel-slip and jerk force multipliers/minimums sent to the vehicle's `hydros` system.

ImGui debug window for tuning force-feedback vibration parameters on the player vehicle. Adjusts wheel-slip and jerk force multipliers/minimums sent to the vehicle's hydros system.


Public Functions

FunctionDescription
M.onUpdate()Draws the ImGui vibration debug window each frame
M.onVehicleSwitched()Resets all vibration parameters to defaults when switching vehicles

Internal State

VariableTypeDefaultDescription
wheelSlipForceMultFloatPtr1.0Multiplier for wheel-slip vibration force
jerkForceMultFloatPtr1.0Multiplier for jerk vibration force
wheelSlipMinFloatPtr2.0Minimum threshold for wheel-slip detection
jerkMinFloatPtr30.0Minimum threshold for jerk detection

Usage Example

-- Load the debug extension (opens the ImGui panel)
extensions.load("core_input_vibrationDebug")

-- The panel appears automatically via onUpdate
-- Adjusting sliders sends commands to the vehicle:
--   hydros.setWheelSlipForceMultiplier(value)
--   hydros.setJerkForceMultiplier(value)
--   hydros.setWheelSlipMin(value)
--   hydros.setJerkMin(value)

Hooks

HookTrigger
onUpdateEvery frame - renders the ImGui debug panel
onVehicleSwitchedPlayer switches vehicle - resets parameters

Notes

  • Parameters are sent to the vehicle via queueLuaCommand targeting the VE hydros module.
  • On vehicle switch, wheelSlipMin resets to 4 (not 2), jerkMin to 30.
  • This is a developer/debug tool, not intended for end users.

See Also

  • virtualInput - Virtual input device management
  • globals - getPlayerVehicle, queueLuaCommand

Vehicle Switching

Provides custom vehicle cycling order for the switch-next/previous-vehicle input actions. Falls back to default engine behavior when no custom order is set.

Virtual Input

Creates and manages virtual input devices (joysticks/gamepads) from Lua. Used by the remote controller extension and other systems that need to inject synthetic input events.

On this page

Public FunctionsInternal StateUsage ExampleHooksNotesSee Also