I use UiS and Mouse LockCenter to get my first person camera system working.
It doesn’t work in studio. My mouse just moves around but UiS isn’t detecting anything. This happens in play-solo and local server/client.
I use UiS and Mouse LockCenter to get my first person camera system working.
It doesn’t work in studio. My mouse just moves around but UiS isn’t detecting anything. This happens in play-solo and local server/client.
Happens to me too, but not consistently. The mouse is also sometimes “sticky” and acts as if I’m holding the right mouse button down when I hover over the game window. Not sure if these are related.
the roblox camerascript can interfere with lockmouse, i’ve had similar problems
if you don’t already, make sure you have an empty localscript in playerscripts called CameraScript so it doesn’t mess with any custom camera stuff you might have
I’ve deleted everything to make sure it’s not my fault. Still seems to be a roblox issue.
have you tried turning it off and back on again? have you tried putting a wait() in front of the lockmouse?
I have to do that already due to another roblox issue (lol).
LockCenter has not been working at all ~5 studio updates now. Would really appreciate some affirmation that this is being looked into.
We are looking into this. Will keep you posted.
Is there a fix in production for this?
I was not able to reproduce this bug. If anyone has repro steps please post them on this thread.
This is a default New Place I just opened with Cmd+N. The mouse still moves freely in first person, and the camera does not pan. (The successful rotation is me holding right click). This glitch stems from UserInputService.MouseBehavior.LockCenter.
Not everyone is experiencing this glitch. I personally am running OS X 10.11.6, and have been experiencing it for the last few months. Studio refuses to lock the mouse in the center, with the exception of holding down right click.