API ReferenceGE Extensionsflowgraphnodesgameplayrally
Stopped Near Plane?
**File:** `flowgraph/nodes/gameplay/rally/vehicleStoppedNearPlane.lua`
File: flowgraph/nodes/gameplay/rally/vehicleStoppedNearPlane.lua
Description: Checks if the vehicle is stopped within D meters of a plane for at least T seconds.
Category: repeat Tags: rally
Input Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Inflow for this node. |
reset | flow | Resets this node. |
vehId | number | Id of the vehicle to check. |
pos | vec3 | Position to check. |
rot | quat | Rotation of the plane to check. |
duration | number | Duration of the stop. |
distance | number | Distance to check for. |
speedThreshold | number | Speed threshold to check for. |
Output Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Inflow for this node. |
impulse | flow | Impulse flow when the vehicle is stopped near the position. |
Methods
C:init(mgr, ...)C:_executionStarted()C:updateTimer()C:drawMiddle(builder, style)C:updateVehicleData()C:isStopped()C:calculatePlaneDistance()C:isNearPlane()C:updateProximityState()C:shouldDrawDebug()C:getRallyLoopManager()C:isNearPlane()C:drawDebugVisualization()C:work(args)
See Also
- Rally Mode Countdown - Related reference
- Rally Loop Synced Countdown - Related reference
- Rally Mode Create Ground Marker Route - Related reference
- FlowGraph Guide - Guide