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

Third-person chase camera that follows vehicle direction with automatic forward/backward switching. Features smoothed direction tracking, configurable roll smoothing, and collision detection.

Third-person chase camera that follows vehicle direction with automatic forward/backward switching. Features smoothed direction tracking, configurable roll smoothing, and collision detection.


Class API

MethodSignatureDescription
C:init()Initializes smoothers, collision, settings
C:onVehicleCameraConfigChanged()Applies jBeam camera config (distance, FOV, offset)
C:onSettingsChanged()Reads relaxation and roll smoothing settings
C:reset()Resets rotation to defaults, clears input
C:update(data)Computes chase position with direction smoothing
C:setRefNodes(center, left, back)Sets vehicle reference nodes
C:mouseLocked(locked)Clears relative input on mouse unlock

Properties

PropertyTypeDefaultDescription
disabledByDefaultbooleantrueNot in default camera rotation
distancenumber5Default follow distance
camMinDistnumber3Minimum zoom distance
fovnumber65Field of view
modestring"ref"Target mode: "ref" or "center"
offsetvec3variesCamera target offset
defaultRotationvec3(0, -17, 0)Default pitch angle

Direction Switching

The camera auto-detects driving direction:

  • Switches to rear view when forward velocity drops below -1.5 m/s and dominates lateral velocity
  • Switches back to forward view when velocity exceeds +1.5 m/s
  • Camera rotation is smoothed to prevent jarring transitions

Input Handling

  • Yaw input (relative + buttons) triggers 90° side views or 180° rear view
  • Pitch input adjusts elevation angle
  • Zoom switches between min distance, default distance, and 2x distance
  • Uses deadzone (0.5) to prevent jittery small inputs

Usage Examples

-- Switch to chase camera
core_camera.setByName(0, "chase")

-- Chase cam is collision-aware
-- data.res.collisionCompatible = true

Notes

  • Roll smoothing is controlled by cameraChaseRollSmoothing setting
  • Direction smoothing uses TemporalSmoothing(0.0008) for very gradual direction changes
  • Collision filter is applied after position calculation

See Also

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

Camera Mode: Big Map

Top-down camera for the big map overview. Supports mouse drag panning, scroll zoom with cursor anchoring, WASD movement, and map boundary clamping.

Camera Mode: Collision

Filter camera that prevents the camera from clipping through walls and terrain. Uses raycasting from target to camera with near-clip plane corner checks.

On this page

Class APIPropertiesDirection SwitchingInput HandlingUsage ExamplesNotesSee Also