GForces

Overview

The GForces sensor reports linear acceleration components acting on the vehicle, in the vehicle frame. Raw and smoothed variants are available.

Components use the vehicle coordinate system (+X left, +Y backward, +Z up).

The sensor is available to use from Python API . It has no extensions.tech_sensors.create* / get*Readings Lua API.

Usage

This sensor does not use extensions.tech_sensors.create*. Request it through a tech client (BeamNGpy, ROS, or similar) with a vehicle SensorRequest containing {type = 'GForces'}.


{type = 'GForces'}

Args:

None.

Returns: response(table):

Field
Description
Field
gx, gy, gz
Description
Raw acceleration components
Field
gx2, gy2, gz2
Description
Smoothed acceleration components
Last modified: August 3, 2026

On this page:

Any further questions?

Join our discord
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.