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: Top Down

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

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


Overview

A simple camera mode that positions itself directly above the vehicle, looking straight down. The camera height increases with speed, and the look-at point shifts forward based on velocity. Serves as a documented example of how to create custom camera modes.


Class Properties

PropertyTypeDefaultDescription
disabledByDefaultbooltrueMust be enabled in settings
fovnumber20Narrow FOV for overhead view
velnumber0Smoothed velocity magnitude
veloSmootherExponentialSmoothing-Velocity smoothing (factor 50)

Methods

MethodSignatureDescription
initC:init()Set up velocity smoother
onVehicleCameraConfigChangedC:onVehicleCameraConfigChanged()Set default FOV
updateC:update(data)Compute overhead position from speed
setRefNodesC:setRefNodes(center, left, back)Set reference nodes

Height & Look-Ahead Calculation

-- Smooth velocity to avoid camera jitter
self.vel = self.veloSmoother:get(
  (self.lastDataPos - data.pos):z0():length() / data.dtSim
)

-- Look-ahead based on speed (max 10 units forward)
local targetPos = data.pos + dir:z0():normalized() * math.min(10, 0.5 * self.vel)

-- Camera height scales with speed
local camPos = targetPos + vec3(0, 0, (self.vel * 0.9) + 50)

Key Notes

  • Uses manual velocity calculation (position delta / dt) instead of data.vel
  • Velocity is smoothed with newExponentialSmoothing(50, 1) to prevent spikes
  • Minimum height is 50 units; scales up with speed (50 + vel × 0.9)
  • Narrow 20° FOV gives a zoomed-in satellite view
  • Good reference for building custom camera modes

See Also

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

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.

Camera Mode: TrackIR

Global filter that integrates TrackIR head-tracking hardware. Translates and rotates the camera based on the player's physical head position and orientation.

On this page

OverviewClass PropertiesMethodsHeight & Look-Ahead CalculationKey NotesSee Also