Im using the phones rotation to rotate my main menu camera, it works fine when facing the front direction but starts to break and the rotations get swapped and mixed when facing other directions
Code:
local _, rotation = userInput:GetDeviceRotation()
workspace.CurrentCamera.CFrame = workspace.Map.Cameras.MenuCamera.CFrame * rotation * CFrame.Angles(math.rad(45), 0, 0)
Video of me moving my phone up and down: