API Referenceveextensionstech
Mesh Sensor
Provides access to the vehicle's deformable mesh data including node positions, velocities, and beam states. Used for crash analysis and structural monitoring.
Provides access to the vehicle's deformable mesh data including node positions, velocities, and beam states. Used for crash analysis, structural monitoring, and research applications that need detailed mesh deformation data.
Public API
| Function | Signature | Description |
|---|---|---|
create | (data) | Creates a new mesh sensor instance with the given configuration. |
setUpdateTime | (sensorId, GFXUpdateTime) | Sets the update interval for the specified mesh sensor. |
Hooks
| Hook | Description |
|---|---|
updateGFX | Collects current mesh state data at the configured update interval. |
Usage Example
-- Create a mesh sensor
local id = extensions.tech_mesh.create({
updateTime = 0.1,
})
-- Adjust update rate
extensions.tech_mesh.setUpdateTime(id, 0.05)See Also
- TechCore — External API that polls mesh data
- Damage Evaluation — Crash damage analysis
- Skeleton — Visual node/beam debug overlay
Ideal RADAR Sensor
Simulated ideal radar sensor that detects other vehicles within a configurable cone. Returns distance, relative velocity, and bearing to detected objects.
OBD Emulator
Emulates an OBD-II (On-Board Diagnostics) interface. Responds to standard OBD PIDs with simulated vehicle data, enabling real OBD scan tools to read BeamNG vehicle parameters.