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


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.