You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to implement, for example, a FPS camera, to 'hide' the mouse and lock it to the center of the window, you need to access the Window class itself.
The logic is also a bit weird to mess around with, and it seems like something the input plugin should handle by itself, specially with #1399.
Solution
Maybe we should do something like input.lockMouse() and input.unlockMouse(), and make it so that the mouse axis only report movement when the mouse is locked.
The text was updated successfully, but these errors were encountered:
Problem
Currently, to implement, for example, a FPS camera, to 'hide' the mouse and lock it to the center of the window, you need to access the Window class itself.
The logic is also a bit weird to mess around with, and it seems like something the input plugin should handle by itself, specially with #1399.
Solution
Maybe we should do something like
input.lockMouse()
andinput.unlockMouse()
, and make it so that the mouse axis only report movement when the mouse is locked.The text was updated successfully, but these errors were encountered: