Dummy Controller
A minimal "Main" controller implementation that provides the required interface without any powertrain logic. Used for testing, props, or vehicles that don't need engine/transmission simulation (e.g., trailers, static objects). Maps raw inputs directly to electrics values.
A minimal "Main" controller implementation that provides the required interface without any powertrain logic. Used for testing, props, or vehicles that don't need engine/transmission simulation (e.g., trailers, static objects). Maps raw inputs directly to electrics values.
State Fields
| Field | Type | Description |
|---|---|---|
engineInfo | table | Standard engine status buffer for telemetry. |
fireEngineTemperature, throttle, brake, clutchRatio, drivingAggression, shiftingAggression | number | Mandatory main controller state variables, initialized to zero. |
Hooks
| Hook | Description |
|---|---|
updateGFX(dt) | Maps raw inputs directly to electrics values and provides minimal ground speed telemetry. |
See Also
- Vehicle Controller — Full-featured main controller
- Controller Template — Template for custom controllers
Drive Modes
Manages vehicle-wide driving profiles (e.g., Comfort, Sport, Eco) that simultaneously adjust multiple systems including engine response, transmission behavior, steering weight, exhaust sound, and suspension stiffness. Provides a unified interface for switching between pre-configured vehicle personalities.
Electronic Stability Control (ESC)
Manages Electronic Stability Control (ESC) and Traction Control System (TCS) interventions. Monitors yaw rate, lateral slip, and wheel spin to selectively apply brakes and reduce engine torque, keeping the vehicle stable. Supports multiple ESC modes and automated calibration.