Outputs the tilt direction of the device.

Accelerometer

Outputs:

  • Direction: Outputs the tilt direction of the device.

Notes

  • The accelerometer makes the screen orientation unchangeable during gameplay when the direction output is connected to anything.

Examples

The accelerometer by itself is jumpy and not very smooth at all, this can be fixed with the next script!

Smoothmeter Combined with the second script, you can make labyrinth-style camera rotations that look nice on the eyes! Smoothmeter_Camera