How do I map keys to different peoples players I have made the screen split but its still being controlled by the same mouse and keys.
-Thanks
How do I map keys to different peoples players I have made the screen split but its still being controlled by the same mouse and keys.
-Thanks
If you're just using the default built-in Unity controls for movement (the ones that work with the Character Controller), you'll need to read up on Unity Input, as well as the InputManager, which can be found in the Edit menu. You'll need to create an entirely new set of Input values for your second player, and then mod your script so that it only obeys one set of controls. I'm assuming you have two Character Controllers (or something like that), so inside there you'll probably have to have something like a PlayerID, where Player 1 only obeys the Player1 Input values, and Player 2 only obeys the Player2 input values (that you need to create yourself).