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
Directional GravityGet Cloud by IDGet FogGet GravityGet PauseGet PhotomodeGet ScatterSkyGet Time of DayPause GamePlanetRandom Time of DayBullet TimeSet Cloud by ID NodeSet Fog NodeSet Gravity NodeSet ScatterSky NodeSet Time of Day NodeSet Wind NodeSimple Planet 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 Extensionsflowgraphnodesenvironment

Simple Planet Node

- **File:** `flowgraph/nodes/environment/simplePlanet.lua`

Overview

  • File: flowgraph/nodes/environment/simplePlanet.lua
  • Name: Simple Planet
  • Category: once_p_duration

Creates a planet with given parameters that applies gravitational pull to a vehicle via obj:setPlanets().

Pin Schema

DirTypeNameDescription
innumbervehIdVehicle ID to apply gravity to.
invec3positionPosition to spawn planet.
innumberradiusRadius of the planet.
innumbermassMass of the planet.

Legacy Pins

  • vehID → vehId

Key Methods

MethodDescription
workOnce()Sends obj:setPlanets() command to the vehicle with position, radius, mass.
onNodeReset()Clears planets on the vehicle via obj:setPlanets({}).
_executionStopped()Calls onNodeReset().

See Also

  • Directional Gravity - Related reference
  • Get Cloud by ID - Related reference
  • Get Fog - Related reference
  • FlowGraph Guide - Guide

Set Wind Node

- **File:** `flowgraph/nodes/environment/setWind.lua`

Controls Action Node

- **File:** `flowgraph/nodes/events/controlsAction.lua`

On this page

OverviewPin SchemaLegacy PinsKey MethodsSee Also