The Device Motion node detects a mobile device's acceleration and rotation. You can use this data to turn the mobile device to a game controller. Send the data to a node like Mover, which you then link to an object. If you're not happy with the results, do some math to the values in between.
Enabled | Enable or disable the node. Disabled nodes can't be executed | |
Type | All Acceleration | Device acceleration, including Earth gravity |
Your Acceleration | Device acceleration | |
Rotation | Device angular acceleration | |
Motion X / Y / Z | Motion value | |
Motion Vector | Outputs motion as an XYZ Vector |
Here's a link to a demo that shows how to use the Device Motion node:
https://hypehype.com/game/device-motion-example/r/sXuUDkYgCr0IdY