While in game, i should press P, and the menu with the logo should pop up, the game should also freeze, and only the menu could be controllable with the mouse.
however, you use the mouse FOR the first person controller, how would i set this up?
While in game, i should press P, and the menu with the logo should pop up, the game should also freeze, and only the menu could be controllable with the mouse.
however, you use the mouse FOR the first person controller, how would i set this up?
So when you go to the pause menu, you should be setting the timescale to zero right?
If your first person controller is using deltaTime for smooth movement then It will automatically stop working when you pause.
If you arent then you could easily put an if statement around your controller code checking if the timescale is above 0.