Right now i’m trying to add console compatibility onto my game and i’m testing it with a PS4 controller on the ROBLOX app on microsoft store However I have a problem. The problem isn’t the registering of the userinput, it registers the trigger,
The problem is: It seems that the Console player’s “cursor” is pointing elsewhere and not in the direction of the camera’s lookvector. (Shift lock is forced in my game)
userinputservice.InputChanged:Connect(function(input, gameprocessedevent) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.None then GrabHandler:ItemUpdate(input.Position.X, input.Position.Y) CameraHandler:InputUpdate(input.Position.X, input.Position.Y) end end) --On console, input.X and input.Y both return something like -0.84563 some small --number, While on PC both return normal values, 960 ish (middle of screen)
Head Faces Mouse
Player is looking off to the left always.