Accelerometer

The accelerometer component measures the acceleration of an entity. For more details on all properties associated with the accelerometer component and how to use the accelerometer component with scripting, please see the API documentation.

Properties

The accelerometer component properties that are accessible through the inspector.

Include Gravity

Whether to include gravitational acceleration. When enabled, the accelerometer will report proper acceleration, which is the acceleration relative to free-fall.

Acceleration

The measured acceleration.

IO

The IO signals for the accelerometer component. Please see the AccelerometerIO API documentation for more details.

Accelerometer IO

x

A readable (output) signal that stores the x-axis linear acceleration.

y

A readable (output) signal that stores the y-axis linear acceleration.

z

A readable (output) signal that stores the z-axis linear acceleration.