hello guys i want to do first face game but i need detecting what direction player moves mouse
at first front this isnt works cuz mouse pos is allways same
You are looking to retrieve the MouseDelta
, am I correct? This is pretty much the raw direction the player moves the mouse in.
There are a couple ways you can get this value. The other response suggested manually calculating it, which relies on the mouses position actually changing.
Since you said you have locked the mouse, you should probably use UserInputService:GetMouseDelta()
instead to get the MouseDelta
1 Like