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
Align For CouplingApply Velocity to VehicleBoost VehicleSet Vehicle ColorsCustom Parts Config ProviderEnter VehicleFlip UprightFreeze VehicleGenerate License PlateGet Vehicle ActiveGet Electrics ValueGet GearboxmodeGet Powertrain DataGravity ForceDistance From GroundHas Coupler TagIs CoupledIs Player UsableKeep VehicleMove Vehicle ToOn Cannon FiredOn Vehicle DestroyedOn Vehicle ResetOn Vehicle SpawnedOn Vehicle SwitchedPlayer UsableRandom Config ProviderRecover In PlaceRemove VehicleTimeline ReplaySet Vehicle ActiveSet Gearbox ModeSet IgnitionSet License PlateSet LightbarSet LightsShift to Gear IndexSpawn VehicleVehicle StatesTeleport To Last RoadToggle Vehicle ControlsMove To ShowroomVehicle TouchProps TouchStatic Object TouchTrack VehicleTrailer Respawn ControlVehicle Config ProviderGet Vehicle DataGet Vehicle DataGet Vehicle BoundsVehicle PingGet Vehicle Wheel Center

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 Extensionsflowgraphnodesvehicle

Props Touch

- **Node Name:** `Props Touch`

Overview

  • Node Name: Props Touch
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/vehicle/touchingProps.lua

Checks if a vehicle is colliding with any prop from a given table of prop IDs.

Pin Schema

Input Pins

PinTypeDescription
flowflowInflow for this node.
vehIdnumberID of the vehicle to check collisions for.
propsIdstableTable of prop object IDs to check against.

Output Pins

PinTypeDescription
flowflowAlways passes through.
touchingflowActive when the vehicle touches any listed prop.
isTouchingboolTrue when collision detected (hidden).

Internals

Key Methods

MethodDescription
init()No-op.
work()Iterates over propsIds and checks each against the vehicle's objectCollisions.

How It Works

  1. Reads the vehicle's objectCollisions from map.objects.
  2. Iterates over every prop ID in the propsIds input table.
  3. If any prop ID is found in the collision table, sets touching flow and isTouching bool to true and returns immediately.

Usage Example

-- Flowgraph:
-- [Cone IDs Table] → propsIds → [Props Touch] → touching → [Add Penalty]
--                                    ↑ vehId ← [Player Vehicle]

-- Checking prop collision in GE Lua:
local cols = map.objects[vehId].objectCollisions
for _, propId in ipairs(propIds) do
  if cols[propId] then
    -- vehicle is touching this prop
  end
end

Key Dependencies

  • map.objects[id].objectCollisions - per-vehicle collision table

See Also

  • Align for Coupling (Flowgraph Node) - Related reference
  • Apply Velocity to Vehicle (Flowgraph Node) - Related reference
  • Boost Vehicle (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Vehicle Touch

- **Node Name:** `Vehicle Touch`

Static Object Touch

- **Node Name:** `Static Object Touch`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsKey MethodsHow It WorksUsage ExampleKey DependenciesSee Also