- Home /
splitscreen fps help
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
Answer by qJake · Jun 16, 2010 at 08:17 PM
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).
I know I have to create things myself unity thankyou it worked!
Your answer
Follow this Question
Related Questions
how can I assign and use different controller schemes for a single keyboard? 0 Answers
Multiple Playstation 3 Controllers on Mac OS for 2 Player Split Screen 0 Answers
Split screen without two cameras in 2D versus game? 1 Answer
Multiplayer (two people on 1 PC) 1 Answer
Second Player Cannot Navigate the Menu 2 Answers