Chassis Data
Reports vehicle dimensions including track width, wheelbase, overall length, width, and height. Used by other systems for physics calculations and UI display.
Reports vehicle dimensions including track width, wheelbase, overall length, width, and height. Other systems (like the UI and gameplay modules) query this data for physics calculations and display purposes.
Public API
This extension computes chassis dimensions from JBeam node positions and exposes them as state. It has no callable functions — data is collected automatically during initialization.
Hooks
| Hook | Description |
|---|---|
| (auto) | Dimensions are computed on vehicle spawn and available via electrics values. |
Usage Example
-- Chassis data is automatically available in electrics
local wheelbase = electrics.values.wheelbase
local trackWidth = electrics.values.trackWidthSee Also
- Dynamic Vehicle Data — Performance testing suite
- Vehicle Performance Data — Real-time power/torque metrics
Vehicle API
Web-based JSON server for inspecting vehicle nodes, beams, and geometry data. Provides an HTTP endpoint for external tools to query the vehicle's structural information.
Couplings
Manages trailer hitches, fifth-wheel connections, and auto-coupling logic. Handles the attach/detach lifecycle for towed vehicles.