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
AI Debug DisplayCamera Mouse RaycastCommentDebug CylinderDebug LineDebug PrismDebug SphereDebug TextDisplay ValueDisplay FlowMulti GraphFlow ButtonLogMini GraphMulti FlowNumber SliderPause ExecutionRestart ProjectStop ProjectCategory Test (Test Dynamic)

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 Extensionsflowgraphnodesdebug

Debug Prism

- **Name:** `Debug Prism`

Overview

  • Name: Debug Prism
  • Category: repeat_instant
  • File: lua/ge/extensions/flowgraph/nodes/debug/debugPrism.lua
  • Pattern: Class-based (C = {}, returns _flowgraph_createNode(C))

Description

Draws a debug square prism (rectangular tube) in the 3D world between two points, with independent width/height at each end. Renders every frame while active.

Pin Schema

Input Pins

PinTypeDefaultDescription
widthAnumber1 (hardcoded)Width at point A
heightAnumber1 (hardcoded)Height at point A
posAvec3-Start position
widthBnumber1 (hardcoded)Width at point B
heightBnumber1 (hardcoded)Height at point B
posBvec3-End position
colorcolor (hidden, hardcoded){0.91, 0.05, 0.48, 0.5}Prism color (default pink)

Behavior

  • work() checks that both positions are provided. Creates Point2F dimensions for each end and calls debugDrawer:drawSquarePrism(posA, posB, sizeA, sizeB, color).
  • Supports tapering prisms by using different width/height values at each end.

Key APIs Used

  • debugDrawer:drawSquarePrism(vec3, vec3, Point2F, Point2F, colorF)

Tags

#flowgraph #node #ge #debug #draw #prism


Additional Exports

init()

  • name - string - (see source)

  • icon - any - (see source)

  • description - string - (see source)

  • category - string - (see source)

  • pinSchema - table - (see source)

  • tags - table - (see source)


See Also

  • AI Debug Display - Related reference
  • Camera Mouse Raycast - Related reference
  • Comment - Related reference
  • FlowGraph Guide - Guide

Debug Line

- **Name:** `Debug Line`

Debug Sphere

- **Name:** `Debug Sphere`

On this page

OverviewDescriptionPin SchemaInput PinsBehaviorKey APIs UsedTagsAdditional Exportsinit()See Also