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: Predictor

Filter that shifts the camera's look-at target ahead of the vehicle based on velocity. Creates a forward-looking effect that anticipates the vehicle's movement.

Filter that shifts the camera's look-at target ahead of the vehicle based on velocity. Creates a forward-looking effect that anticipates the vehicle's movement.


Overview

A hidden filter that offsets data.res.targetPos by a velocity-scaled amount, then recomputes the camera rotation to look at the predicted position. This makes the camera "lead" the vehicle.


Class Properties

PropertyTypeDefaultDescription
isFilterbooltruePost-processes other camera output
hiddenbooltrueNot selectable by the user
dtFuturenumber0.1Look-ahead time in seconds

Methods

MethodSignatureDescription
initC:init(dtFuture)Set look-ahead time
updateC:update(data)Offset target by velocity, recompute rotation

Look-Ahead Calculation

-- Shift target position forward by velocity * look-ahead time
data.res.targetPos:setAdd(self.dtFuture * data.vel)
-- Recompute rotation to look at the predicted position
data.res.rot = quatFromDir((data.res.targetPos - data.res.pos):normalized())

Key Notes

  • Default look-ahead is 100ms - subtle but reduces camera lag feel
  • Only affects targetPos and rot - position stays unchanged
  • Velocity comes from data.vel (vehicle velocity vector)
  • Simple and composable - often used with orbit or chase cameras

See Also

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

Camera Mode: Path

Global camera that follows a spline path defined by markers. Uses Catmull-Rom interpolation for smooth position and rotation along timed control points. Supports replay synchronization, manual FOV, bu

Camera Mode: Relative

Vehicle-relative free camera with full 6DOF movement, saveable position slots, adjustable point light, and near-clip control. The primary camera for cinematic vehicle photography.

On this page

OverviewClass PropertiesMethodsLook-Ahead CalculationKey NotesSee Also