I want to integrate controller support into my game, problem is my game requires MouseDelta inputs. Is there a way to get the input for the direction a player on controller is looking while in first person?
If anyone is still looking (like I did)
Here is a very easy answer.
Don’t be fooled if it does not work like mousedelta in studio testing, it does on ps4 in-game testing.
local UIS = game:GetService("UserInputService")
local mouseDelta = Vector2.new(0,0)
local inpChangedCon = UIS.InputChanged:Connect(function(input, gameProccessed)
-- || Console Values
if input.KeyCode == Enum.KeyCode.Thumbstick2 and UIS.GamepadEnabled == true then
mouseDelta = input.Position * 2
end
end)
Play with the multiplying variable, I found *2 as perfect for my system. In Studio, the “mouseDelta” does not “snap back” but it does - if you try it in-game on console.

