So to explain what I mean, I want the mouse controls to be like the first person controls (mouse is locked to center, camera moves with mouse) but I don’t want the view to be inside the character, I want it to be behind it.
In a local script, put this code
local uis = game:GetService("UserInputService")
uis:GetPropertyChangedSignal("MouseBehavior"):Connect(function()
uis.MouseBehavior = Enum.MouseBehavior.LockCenter
end)
You can use CameraOffset (Humanoid Propertie)
Thanks I’ll try that, I forgot about that.
Thanks for the input, but this would lock the mouse to the center but the camera wouldn’t move by moving your mouse like it does in first person. Besides I feel like that method might be a little jittery if someone vigorously tries moving the mouse away from the center.
Anyways the camera offset solution sounds like a cleaner way
It does, have you tested it?
No, it wont. I know it from experience. I think you are talking about LockCurrentPosition
In ROBLOX Default Player Modules, the Camera Module sets the MouseBehavior to LockCenter if it is fully zoomed in. I also use it on some of my games.
You’re right as it turns out, thanks for the help. This was easier than I thought it would be