|
| 14 Aug 2015 03:57 PM |
So I'm making my own first person camera system, and I'm using UserInputService to lock the mouse in the middle. But... How do I then detect mouse movement so I can rotate the camera?
Check out my in-game scripting tutorial! [ 279086510 ] |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 04:01 PM |
This isn't printing anything ._.
game:GetService("UserInputService").InputBegan:connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then print(input.Delta) end end)
Check out my in-game scripting tutorial! [ 279086510 ] |
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
| |
|
|
| 14 Aug 2015 04:05 PM |
Keeps printing (0,0,0), even when I'm moving the mouse.
Check out my in-game scripting tutorial! [ 279086510 ] |
|
|
| Report Abuse |
|
|