Login

Fancade Wiki

Updated Accelerometer.md (markdown)

... ...
@@ -1,3 +1,20 @@
1
Outputs the tilt direction of the device. When placed, makes the screen orientation unchangeable during gameplay.
1
Outputs the tilt direction of the device.
2 2
3
[[/uploads/Accelerometer.PNG]]
... ...
\ No newline at end of file
0
[[/uploads/Accelerometer.PNG]]
1
2
Outputs:
3
4
* Direction: Outputs the tilt direction of the device.
5
6
## Notes
7
* It makes the screen orientation unchangeable during gameplay when the direction output is connected to anything.
8
9
## Examples
10
The accelerometer can be connected to anything to lock your screen's orientation, even things that do nothing at all, this can be used for scripts that only work in one orientation.
11
![example_1](https://cdn.discordapp.com/attachments/520112989416718346/798172908778160138/Screenshot_20210111-154904_Fancade.jpg)
12
The accelerometer by itself is jumpy and not very smooth at all, this can be fixed with the next script!
13
14
If you're too busy and don't have the time to do all of that, get smoothmeter! [[https://fancade.page.link/vMWw]]
15
![example_2](https://cdn.discordapp.com/attachments/520112989416718346/798172908991152169/20210111_155329.jpg)
16
Combined with the second script, you can make labyrinth-style camera rotations that look nice on the eyes!
17
![example_3](https://cdn.discordapp.com/attachments/520112989416718346/798172909168361512/20210111_155344.jpg)
Fancade Wiki