API Referenceveextensions
Simple Trip App
Backend support for the 'Simple Trip' UI app. Computes and streams trip data including distance, average speed, fuel consumption, and elapsed time.
Backend support for the 'Simple Trip' UI app. Computes and streams trip data including distance, average speed, fuel consumption, and elapsed time to the vehicle's dashboard display.
Hooks
| Hook | Description |
|---|---|
updateGFX | Runs each graphics frame to update trip statistics and push data to the UI. |
Usage Example
-- The simple trip app is loaded by the vehicle UI system
extensions.load("simpleTripApp")See Also
- Odometer — Distance tracking
- Gameplay Statistic — Metric aggregation
Performance Logger
Profiling utility for measuring execution time of Lua functions within the vehicle environment. Helps identify performance bottlenecks during development.
Skeleton
Debug visualization of the vehicle's node and beam structure. Renders the wireframe mesh showing all physics nodes and their connecting beams.