This node tracks the orientation of the mobile device. You can use this data to control things in your games.
📢 Note: Orientation only works on devices that have a gyroscope.
Enabled | Enable or disable to node. Disabled nodes cannot output links or data | |
Relative | Determines if the tracking is relative to the starting position or device’s position | |
Type | Compass Heading | Outputs the compass heading, if relative = off, 0 would be North |
Orientation Yaw | Device orientation in Y axis | |
Orientation Pitch | Device orientation in X axis | |
Orientation Roll | Device orientation in Z axis | |
Change To Listen | The orientation max angle | |
Value | Orientation value | |
Value Change Speed | Speed of the orientation motion | |
On Value Change | Returns true if the value changes |
Here are a few links to demos that show how to use the Orientation node: