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
Allow WalkingBlacklist WalkingCan Enter From WalkingCareer ActiveComplete ScenarioCountdownDecal CircleDecal LineDecal PathDecal SingleIs Walking BlacklistedGroundmarker Remaining DistanceGroundmarkersIs WalkingIs Walking EnabledMission DefaultsMultiseatDetect Acceleration At StartPointsBar PointsPointsBar ThresholdsRemove Other VehiclesToggle WalkingIn Zone
Clear DriftDrift Donut DetectedDrift InformationReset DriftDrift ScoreDrift Through DetectedDrift VehDrift BoundsSet Drift Challenge ModeSet Drift ContextSet Drift DataDrift Race Path

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 Extensionsflowgraphnodesgameplaydrift

Drift Information

**File:** `flowgraph/nodes/gameplay/drift/driftInformation.lua`

File: flowgraph/nodes/gameplay/drift/driftInformation.lua

Description: Gives drift related information for the given car

Category: repeat_instant Tags: gameplay, utils

Output Pins

NameTypeDescription
driftingflowOutflow for this node.
notDriftingflowOutflow for this node.
spinoutflowWhen the player spins out
tappedflowEmits signal when the vehicle taps a wall.
crashedflowEmits signal when the vehicle bumps too hard into a wall.
donutDetectedflowEmits signal when a donut is detected
tightDriftDetectedflowEmits signal when a tightDrift is detected
driftCompletedflowEmits signal when the drift has been completed.
driftCompletedAddedScorenumberThe added score when done with the drift
driftCompletedCachedScorenumberThe cached score when done with the drift
driftCompletedCombonumberThe combo when done with the drift
closestWallDistancenumberDistance from the closest wall
driftAnglenumberCurrent drift angle
driftVelocitynumberDrift speed
totalDriftDegnumberTotal drift angle
totalDriftDistancenumberTotal drift distance
totalDriftTimenumberTotal drift time
driftUniformitynumberThe closer the current drift angle is to the average drift angle, the closer to 0 this pin will be. Another way of seing this : The more the drift angle stays the same, the closer to 0 this pin will be

Methods

  • C:work()

See Also

  • Clear Drift - Related reference
  • Drift Donut Detected - Related reference
  • Reset Drift - Related reference
  • FlowGraph Guide - Guide

Drift Donut Detected

**File:** `flowgraph/nodes/gameplay/drift/driftDonut.lua`

Reset Drift

**File:** `flowgraph/nodes/gameplay/drift/driftReset.lua`

On this page

Output PinsMethodsSee Also