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)

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 Extensionsflowgraphnodesscene

Particle Emitter (Flowgraph Node)

- **Node Name:** `Particle Emitter`

Overview

  • Node Name: Particle Emitter
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/scene/particleEmitter.lua

Creates and manages a particle emitter in the scene. Supports positioning, rotation, and color control.

Pin Schema

Input Pins

PinTypeDescription
flowflowStandard inflow
clearflow (impulse)When triggered, clears the particle emitter
positionvec3Position of the particle emitter
rotationquatRotation of the particle emitter
colorcolorColor of the particle emitter

Internals

FieldPurpose
self.objectTable holding the spawned ParticleEmitterNode and its state
self.shownWhether the emitter is currently visible

Behavior

  • work() - On each frame:
    • If no object exists, creates one via showObject().
    • On flow, shows the emitter and updates position.
    • On clear impulse, hides the emitter.
  • createObject(name) - Creates a ParticleEmitterNode with the BNGP_confetti emitter and lightExampleEmitterNodeData1 datablock.
  • showObject() / hideObject() - Toggles the hidden property on the emitter object.
  • _executionStopped() - Deletes the emitter object and cleans up.

How It Works

  1. On first flow, a ParticleEmitterNode is created and added to MissionGroup.
  2. Each frame with flow, the emitter is shown and repositioned.
  3. A clear impulse hides the emitter without deleting it.
  4. On execution stop or mission end, the object is fully deleted.

Key Dependencies

  • createObject('ParticleEmitterNode') - Torque3D engine call for particle emitters
  • scenetree.MissionGroup:addObject() - adds the emitter to the scene

Additional Methods

C:_afterTrigger()

Called after the node's trigger logic executes.

C:destroy()

Destroys the node and cleans up any created objects.

C:fillFields()

Node method.

C:init(mgr, ...)

Initializes the node, setting up pins and default properties.

Parameters:

  • mgr
  • ...

C:onClientEndMission()

Cleanup callback when the mission/level ends.

C:setPosition()

Node method.


See Also

  • Collection Marker (Flowgraph Node) - Related reference
  • Custom Lua Command (Flowgraph Node) - Related reference
  • Get Object Field (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Keep Prefab (Flowgraph Node)

- **Node Name:** `Keep Prefab`

Point on Decalroad (Flowgraph Node)

- **Node Name:** `Point on Decalroad`

On this page

OverviewPin SchemaInput PinsInternalsBehaviorHow It WorksKey DependenciesAdditional MethodsC:_afterTrigger()C:destroy()C:fillFields()C:init(mgr, ...)C:onClientEndMission()C:setPosition()See Also