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: Free Camera

Detached free-fly camera with Newton physics for smooth movement. Supports keyboard/mouse/gamepad/3D spacemouse input, configurable smoothing, and manual zoom.

Detached free-fly camera with Newton physics for smooth movement. Supports keyboard/mouse/gamepad/3D spacemouse input, configurable smoothing, and manual zoom.


Class API

MethodSignatureDescription
C:init()Initializes as global hidden camera, sets physics defaults
C:reset()Zeroes velocity, resets zoom, clears roll
C:setSmoothedCam(smoothed)Toggles between smooth (cinematic) and snappy (editor) physics
C:setPosition(position)Sets camera world position
C:setFOV(fovDeg)Sets field of view
C:setRotation(rotation)Sets camera rotation from quaternion
C:setNewtonRotation(enabled)Enables/disables rotation momentum
C:setNewtonTranslation(enabled)Enables/disables translation momentum
C:update(data)Applies physics simulation for rotation and translation

Properties

PropertyTypeDefaultDescription
isGlobalbooleantrueSingleton, always exists
hiddenbooleantrueNot in camera cycle
posvec3(0,0,0)World position
rotvec3(0,0,0)Euler angles (yaw, pitch, roll)

Physics Modes

Snappy (default)

ParameterValue
Angular force400
Angular drag16
Mass1
Translation force250
Translation drag17

Smooth (cinematic)

ParameterValue
Angular force150
Angular drag2.5
Mass10
Translation force600
Translation drag2

Movement

  • Translation uses force-based acceleration with drag deceleration
  • Speed scales quadratically: (speed² / 30) / 40
  • Fast speed modifier (shift) triples speed
  • Rotation is Euler-based with pitch clamped to ±90°
  • Newton physics can be disabled for instant response

Usage Examples

-- Enter free camera
core_camera.setGlobalCameraByName("free")

-- Position the free camera
core_camera.setPosition(0, vec3(100, 200, 50))
core_camera.setRotation(0, quat(0, 0, 0.7, 0.7))
core_camera.setFOV(0, 45)

-- Toggle smooth cinematic movement
core_camera.setSmoothedCam(0, true)

-- Direct position + rotation set
core_camera.setPosRot(0, 100, 200, 50, 0, 0, 0.7, 0.7)

Notes

  • 3D spacemouse supported via absXAxis/absYAxis/absZAxis and yawAbs/pitchAbs/rollAbs
  • Manual zoom uses the manualzoom sub-module
  • Translation is applied in camera-local space (rotated by current orientation)

See Also

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

Camera Mode: Fallback

Minimal global filter camera that ensures `pos` and `rot` are always defined. Acts as a safety net in the camera pipeline, running at order 0.6.

Camera Mode: Game Engine

Final-stage camera filter that commits the computed camera state to the engine. Handles OpenXR/VR pose integration before pushing position, rotation, FOV, and near clip to the renderer.

On this page

Class APIPropertiesPhysics ModesSnappy (default)Smooth (cinematic)MovementUsage ExamplesNotesSee Also