How to create and set different Player ID's to individual controllers?
Hi, im trying to create a game that uses 4 Xbox 360 controllers in order to control each character. Its a local game where all characters are playing on the same screen. I have made separate inputs for movement and buttons in the input manager and have the individual joystick movements all working perfectly fine.
My issue is getting unity to keep that Player ID and set it to a specific controller once disconnected and reconnected again as i will need to include an in game character switching method (somewhat similar to Trine 3 character switches). At the moment Unity is applying the joystick 0 player as which ever controller is being plug in first and etc with the other 3. Is there any way to assign controllers with player ID's so that im able to switch players on each controller when pressing down the "Y" button?
Answer by Skrobie · Jul 24, 2018 at 06:14 PM
@daniimudaaa you ever get this working? - my problem is that i keep getting an error saying i have a negative playercontroller