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

Simple Cam Path (Flowgraph Node)

- **Node Name:** `Simple Cam Path`

Overview

  • Node Name: Simple Cam Path
  • Category: once_f_duration
  • File: extensions/flowgraph/nodes/scene/camera/cameraPath.lua
  • Icon: Camera icon
  • Color: Camera color

Plays back a camera path defined by a .camPath.json file. Supports looping and reports completion.

Pin Schema

Input Pins

PinTypeHiddenDescription
pathNamestringnoPath to the .camPath.json file
loopboolyes (hardcoded)Whether the path should loop (default: false)

Output Pins

PinTypeHiddenDescription
activatedflow (impulse)yesFires once when the path starts
inactiveflowyesActive when no camera path is running
durationnumberyesCurrent duration of the camera path
idnumbernoID of the camera path

Legacy Pin Names

  • finished → complete (output)
  • stopped → inactive (output)
  • start → flow (input)

Internals

  • self.activatedFlag - used to produce a single-frame impulse for activated.
  • self.durationState - 'inactive' → 'started' → 'finished'.
  • Uses self.mgr.modules.camera for path management.
  • postInit() configures the file picker to filter .camPath.json files.
  • _onDeserialized() restores the loop hardcoded value from saved data.

How It Works

  1. Start (workOnce) - Finds the camera path by name via modules.camera:findPath(), starts it with modules.camera:startPath(), and fires the activated impulse.
  2. Running (work, state started):
    • Clears the activated impulse after one frame.
    • Checks if the path is still active via modules.camera.activePathId.
    • If the path is complete (isPathComplete), transitions to finished.
    • Outputs the path duration via getPathDuration.
    • If the path is no longer active, outputs inactive = true.
  3. Duration node - Uses once_f_duration category, so the flowgraph duration system tracks start/finish automatically.

Lua Code Example

-- Play a cinematic camera path:
-- cameraPath (pathName = "cinematics/intro.camPath.json", loop = false)
--   .id → store for later reference
--   duration complete → next scene

-- Loop a showcase orbit:
-- cameraPath (pathName = "showcase/orbit.camPath.json", loop = true)

Key Dependencies

  • self.mgr.modules.camera - findPath(), startPath(), activePathId, isPathComplete(), getPathDuration()
  • .camPath.json files - camera path data format

Additional Methods

C:_executionStarted()

Called when graph execution starts. Used for initialization/reset.

C:drawMiddle(builder, style)

Custom ImGui drawing in the middle section of the node in the editor.

Parameters:

  • builder
  • style

C:init()

Initializes the node, setting up pins and default properties.

C:onNodeReset()

Called when the node is reset.


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

Camera Auto Circle (Flowgraph Node)

- **Node Name:** `Camera Auto Circle`

Get Camera FOV (Flowgraph Node)

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

On this page

OverviewPin SchemaInput PinsOutput PinsLegacy Pin NamesInternalsHow It WorksLua Code ExampleKey DependenciesAdditional MethodsC:_executionStarted()C:drawMiddle(builder, style)C:init()C:onNodeReset()See Also