Accelerometer

The accelerometer component is a scripted component that measures the acceleration of an entity.

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.

Acceleration

The measured acceleration.

IO

The IO signals provided by the accelerometer.

x

The x-axis linear acceleration.

y

The y-axis linear acceleration.

z

The z-axis linear acceleration.