RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
Collection Marker (Flowgraph Node)Custom Lua Command (Flowgraph Node)Get Object Field (Flowgraph Node)Get Player Vehicle ID (Flowgraph Node)Get Point on Decalroad (Flowgraph Node)Show/Hide Object (Flowgraph Node)ID by Name (Flowgraph Node)Keep Prefab (Flowgraph Node)Particle Emitter (Flowgraph Node)Point on Decalroad (Flowgraph Node)Raceline Parking (Flowgraph Node)Raycast (Flowgraph Node)Parking Markers / Rect Marker (Flowgraph Node)Reload Collision (Flowgraph Node)Reload Nav Graph (Flowgraph Node)Remove Prefab (Flowgraph Node)Reset Prefab (Flowgraph Node)Set Object Field (Flowgraph Node)Sevensegment Display (Flowgraph Node)Single Marker (Flowgraph Node)Spawn Light / SpotLight (Flowgraph Node)Spawn Prefab (Flowgraph Node)Spawn TSStatic (Flowgraph Node)Store Statics (Flowgraph Node)Track Prefab (Flowgraph Node)
Camera Transform (Flowgraph Node)Camera Look at Position (Flowgraph Node)Camera Auto Circle (Flowgraph Node)Simple Cam Path (Flowgraph Node)Get Camera FOV (Flowgraph Node)Get Camera Mode (Flowgraph Node)Get Cam Path (Flowgraph Node)Restart Cam Path (Flowgraph Node)Return Camera to Vehicle (Flowgraph Node)Set Camera FOV (Flowgraph Node)Set Camera Mode (Flowgraph Node)Set Camera Position (Flowgraph Node)Set Camera Rotation (Flowgraph Node)Start Cam Path (Flowgraph Node)Stop Cam Path (Flowgraph Node)

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 Extensionsflowgraphnodesscenecamera

Set Camera FOV (Flowgraph Node)

- **Node Name:** `Set Camera FOV`

Overview

  • Node Name: Set Camera FOV
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/scene/camera/setCameraFOV.lua

Sets the camera's Field of View (FOV) to a specified angle. Automatically switches to free camera mode. Restores the original FOV when execution stops.

Pin Schema

Input Pins

PinTypeDescription
valuenumberThe FOV angle to set

Behavior

  • work() - Each frame:
    1. Switches to free camera if not already active.
    2. Sets the FOV via core_camera.setFOV(0, value).
  • _executionStarted() - Stores the current FOV in self._storedFov for later restoration.
  • _executionStopped() - Restores the original FOV from self._storedFov, then clears it.
  • drawMiddle() - Displays the current FOV value in the node editor.

Key Dependencies

  • commands.isFreeCamera() / commands.setFreeCamera() - Free camera management
  • core_camera.getFovDeg() - Read current FOV
  • core_camera.setFOV(playerIndex, fovDeg) - Set FOV in degrees

How It Works

The node saves the original FOV when the flowgraph starts and restores it when execution ends - ensuring cinematic FOV changes don't permanently alter the player's view. During execution, it continuously applies the target FOV every frame.

Example Usage

-- Cinematic zoom: wire a number provider to gradually change FOV
-- e.g., start at 60° and interpolate down to 30° for a zoom effect
-- FOV automatically restores when the flowgraph stops

See Also

  • Camera Transform (Flowgraph Node) - Related reference
  • Camera Look at Position (Flowgraph Node) - Related reference
  • Camera Auto Circle (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Return Camera to Vehicle (Flowgraph Node)

- **Node Name:** `Return camera to vehicle`

Set Camera Mode (Flowgraph Node)

- **Node Name:** `Set Camera Mode`

On this page

OverviewPin SchemaInput PinsBehaviorKey DependenciesHow It WorksExample UsageSee Also