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
| Name | Type | Description |
|---|---|---|
drifting | flow | Outflow for this node. |
notDrifting | flow | Outflow for this node. |
spinout | flow | When the player spins out |
tapped | flow | Emits signal when the vehicle taps a wall. |
crashed | flow | Emits signal when the vehicle bumps too hard into a wall. |
donutDetected | flow | Emits signal when a donut is detected |
tightDriftDetected | flow | Emits signal when a tightDrift is detected |
driftCompleted | flow | Emits signal when the drift has been completed. |
driftCompletedAddedScore | number | The added score when done with the drift |
driftCompletedCachedScore | number | The cached score when done with the drift |
driftCompletedCombo | number | The combo when done with the drift |
closestWallDistance | number | Distance from the closest wall |
driftAngle | number | Current drift angle |
driftVelocity | number | Drift speed |
totalDriftDeg | number | Total drift angle |
totalDriftDistance | number | Total drift distance |
totalDriftTime | number | Total drift time |
driftUniformity | number | The 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