API Referenceveextensions
Aero Debug
Calculates and visualizes aerodynamic forces, drag coefficients, and center of pressure for vehicle aerodynamic tuning.
Calculates and visualizes aerodynamic forces, drag coefficients, and center of pressure for vehicle aerodynamic tuning. Useful during vehicle development to verify downforce distribution and drag characteristics.
Public API
| Function | Signature | Description |
|---|---|---|
| (hook-driven) | — | This extension operates via hooks and renders debug overlays automatically when loaded. |
State Fields
M.directionVector -- Forward direction vector for aero calculations
M.directionVectorUp -- Up direction vector
M.directionVectorLeft -- Left direction vector (cross product of up × forward)Hooks
| Hook | Description |
|---|---|
onInit | Initializes aerodynamic calculation state and caches aero surface references. |
Usage Example
-- Load the extension to visualize aero forces
extensions.load("aeroDebug")
-- Access computed direction vectors
local fwd = extensions.tech_aeroDebug.directionVectorSee Also
- Advanced Wheel Debug — Suspension geometry visualization
- Chassis Data — Vehicle dimension data
Advanced Wheel Debug
Real-time visualization of wheel alignment, caster, toe angles, and tire pressure data for vehicle development and tuning.
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.