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

Get Gravity

- **File:** `extensions/flowgraph/nodes/environment/getGravity.lua`

Overview

  • File: extensions/flowgraph/nodes/environment/getGravity.lua
  • Name: Get Gravity
  • Category: provider
  • Description: Returns the current gravity value from the environment system.

Pin Schema

Input Pins

None.

Output Pins

NameTypeDescription
gravitynumberCurrent gravity in m/s².

Behavior

  • work(): Reads the gravity value from core_environment.getGravity() and outputs it.

Notes

  • Default Earth gravity in BeamNG is approximately -9.81 m/s².
  • Provider category - continuously outputs without needing flow input.

Tags

#flowgraph #node #ge #environment #gravity


Additional Exports

  • name - string - (see source)

  • description - string - (see source)

  • pinSchema - table - (see source)

  • tags - table - (see source)


See Also

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

Get Fog

- **File:** `extensions/flowgraph/nodes/environment/getFogDensity.lua`

Get Pause

- **File:** `extensions/flowgraph/nodes/environment/getPause.lua`

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorNotesTagsAdditional ExportsSee Also