At a certain time in my game, when the player goes to some place and touches something, i want his FPS controls( Keys W A D S) and the Mouselook movement(typical of FPS games) to be disabled.
And at that point i want the mouse to get the 2D (x and y) coordinates of the screen.
And then of course, i want to renenable FPS controls and MouseLook when user gets away from that place.
How do i do this?
For my fps game i use FPSInput script(included in unity) and MouseLook script(included in unity)