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

Freeze Vehicle

- **Node Name:** `Freeze Vehicle`

Overview

  • Node Name: Freeze Vehicle
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/vehicle/freeze.lua

Freezes or unfreezes a vehicle in place. When frozen, the vehicle's physics are suspended and it cannot move. If no vehicle ID is provided, the current player vehicle is used.

Pin Schema

Input Pins

PinTypeDescription
vehIdnumberID of the vehicle to freeze. Defaults to player vehicle
freezebooltrue to freeze, false to unfreeze

Legacy Pins

Old NameNew Name
vehIDvehId

Internals

Key Methods

MethodDescription
work()Resolves the vehicle and calls core_vehicleBridge.executeAction(veh, 'setFreeze', freezeValue)

How It Works

  1. The node resolves the vehicle from vehId or defaults to getPlayerVehicle(0).
  2. If a valid vehicle is found, it calls core_vehicleBridge.executeAction(veh, 'setFreeze', bool).
  3. This sends the freeze command to the vehicle's Lua controller, which suspends or resumes physics simulation.

Usage Example

-- In a flowgraph:
-- [Start] → [Freeze Vehicle (freeze=true)] ← vehId ← [Vehicle ID]
-- ... later ...
-- [Trigger] → [Freeze Vehicle (freeze=false)] ← vehId ← [Vehicle ID]

-- Programmatic equivalent:
local veh = getPlayerVehicle(0)
core_vehicleBridge.executeAction(veh, 'setFreeze', true)   -- freeze
core_vehicleBridge.executeAction(veh, 'setFreeze', false)  -- unfreeze

Key Dependencies

  • core_vehicleBridge.executeAction() - sends actions to the vehicle Lua VM
  • setFreeze action - vehicle-side controller freeze/unfreeze handler

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

Flip Upright

- **Node Name:** `Flip Upright`

Generate License Plate

- **Node Name:** `Generate License Plate`

On this page

OverviewPin SchemaInput PinsLegacy PinsInternalsKey MethodsHow It WorksUsage ExampleKey DependenciesSee Also