modulum
|
  |
| Joined: 11 Jul 2016 |
| Total Posts: 242 |
|
|
| 12 Aug 2016 09:17 PM |
Refer to the title, but I already tried doing:
wait()
local UserInputService = game:GetService("UserInputService") UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
But whenever the user goes into first person they're able to move their camera around. Any alternatives?
|
|
|
| Report Abuse |
|
|
|
| 12 Aug 2016 09:19 PM |
"But whenever the user goes into first person they're able to move their camera around."
LockCenter only keeps the mouse at the middle of the screen, but it can still be moved but it just won't move around the screen
if you want to freeze the camera, set:
workspace.CurrentCamera.CameraType = "Scriptable" |
|
|
| Report Abuse |
|
|
modulum
|
  |
| Joined: 11 Jul 2016 |
| Total Posts: 242 |
|
|
| 12 Aug 2016 09:33 PM |
Okay, I'll try it. Thanks!
|
|
|
| Report Abuse |
|
|