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

Camera Transform (Flowgraph Node)

- **Node Name:** `Camera Transform`

Overview

  • Node Name: Camera Transform
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/scene/camera/cameraAngle.lua
  • Icon: Camera icon
  • Color: Camera color

Outputs the current camera position, rotation, and field of view each frame.

Pin Schema

Input Pins

None.

Output Pins

PinTypeDescription
posvec3Current camera position
rotquatCurrent camera rotation
fovnumberCurrent field of view (degrees)

Internals

  • Uses core_camera.getFovDeg(), core_camera.getPosition(), core_camera.getQuat().
  • Optimizes by checking isUsed() on pos and rot pins - only computes them if connected.

How It Works

  1. Every frame, reads the current FOV and outputs it.
  2. If the pos output is connected, reads the camera position as a table.
  3. If the rot output is connected, reads the camera quaternion as a table.

Lua Code Example

-- Feed camera data into a recording node:
-- cameraAngle.pos → recordCamera.pos
-- cameraAngle.rot → recordCamera.rot
-- cameraAngle.fov → UI overlay display

Key Dependencies

  • core_camera - getFovDeg(), getPosition(), getQuat()

Additional Methods

C:init()

Initializes the node, setting up pins and default properties.

C:work()

Main work function called each frame/tick when the node is active.


See Also

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

Track Prefab (Flowgraph Node)

- **Node Name:** `Track Prefab`

Camera Look at Position (Flowgraph Node)

- **Node Name:** `Camera Look at Position`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsHow It WorksLua Code ExampleKey DependenciesAdditional MethodsC:init()C:work()See Also