Get the mobile real life direction

Is there any way to get where the mobile is facing? like north, west etc

There’s a lot of gyroscope mobile device related stuff in UserInputService…
here’s a thread that might help:

UIS:GetDeviceRotation() returns an input object and a CFrame… you can just calculate the look vector of the CFrame

2 Likes

WOW. Gotta try that gyroscope thing

First, you have to check if gyroscope is enabled on the mobile device, then you can calculate.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.