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
Camera Mode: AutopointCamera Mode: AutozoomCamera Mode: Big MapCamera Mode: ChaseCamera Mode: CollisionCamera Mode: CrashCamera Mode: DriverCamera Mode: External / Fan CameraCamera Mode: FallbackCamera Mode: Free CameraCamera Mode: Game EngineCamera Mode: HandheldCamera Mode: Manual ZoomCamera Mode: NoiseCamera Mode: ObserverCamera Mode: OnboardCamera Mode: OrbitCamera Mode: Pacenote OrbitCamera Mode: PathCamera Mode: PredictorCamera Mode: RelativeCamera Mode: ShakeCamera Mode: SmoothCamera Mode: Top DownCamera Mode: TrackIRCamera Mode: TransitionCamera Mode: Unicycle

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 ExtensionscorecameraModes

Camera Mode: Smooth

Spring-based position smoothing filter. Applies temporal spring smoothing independently to each axis of the camera position to reduce jitter and sudden jumps.

Spring-based position smoothing filter. Applies temporal spring smoothing independently to each axis of the camera position to reduce jitter and sudden jumps.


Overview

A hidden filter that wraps newTemporalSpring smoothers around the camera position. Each axis (X, Y, Z) is smoothed independently with configurable spring stiffness and damping. Used to soften position output from other camera modes.


Class Properties

PropertyTypeDefaultDescription
isFilterbooltruePost-processes other camera output
hiddenbooltrueNot selectable by the user
springnumber30Spring stiffness
dampnumber10Damping factor
posXTemporalSpring-X-axis spring smoother
posYTemporalSpring-Y-axis spring smoother
posZTemporalSpring-Z-axis spring smoother

Methods

MethodSignatureDescription
initC:init(spring, damp, pos)Create springs, optionally set initial position
updateC:update(data)Apply spring smoothing to data.res.pos

Spring Smoothing

-- Each axis smoothed independently via temporal spring
data.res.pos.x = self.posX:get(data.res.pos.x, data.dt)
data.res.pos.y = self.posY:get(data.res.pos.y, data.dt)
data.res.pos.z = self.posZ:get(data.res.pos.z, data.dt)

Initial Position

-- Optional: seed springs with a known position to avoid snap
local smooth = require('core/cameraModes/smooth')
local smoother = smooth({spring = 30, damp = 10})
smoother:init(30, 10, vec3(100, 200, 50))  -- pre-set position

Key Notes

  • Higher spring = faster tracking, higher damp = less oscillation
  • Only smooths position - rotation and FOV pass through unchanged
  • Uses BeamNG's newTemporalSpring engine function
  • Can be initialized with a starting position to prevent first-frame snap

See Also

  • Camera Mode: Autopoint - Related reference
  • Camera Mode: Autozoom - Related reference
  • Camera Mode: Big Map - Related reference
  • Core Systems Guide - Guide

Camera Mode: Shake

Sinusoidal camera shake filter that adds continuous oscillating position and rotation offsets. Creates a smooth, rhythmic shake effect for cinematic or impact scenarios.

Camera Mode: Top Down

Example custom camera mode providing a top-down overhead view of the vehicle. Height and look-ahead scale with vehicle speed.

On this page

OverviewClass PropertiesMethodsSpring SmoothingInitial PositionKey NotesSee Also