How to setup multiple controls
I have problem with setting up multiple controls for 2 players. Right now only solution that comes to my mind is to make separate inputs for each player and make parent process all inputs for all players.
But I don't like that solution, there must be better way.
By the way, this is what I am trying to achieve: Player 1 has controller at index 0, while player 2 has controller at index 1. Now I can control only player 1 with my mappings (eg. P1_MoveLeft).
Now what I am asking is, can I make somehow generic mappings (lets say MoveLeft) without need to mark P1_MoveLeft, P2_MoveLeft, and so on?
EDIT: To make it more clear what I am trying to achieve. I want to have one action event (I'm gonna stick with MoveLeft as example) for multiple players.
So player 1 should move with WASD while player 2 should move with arrow keys.
"A" and "Left Arrow" should trigger MoveLeft event but they should trigger to corresponding players ("A" for player 1 and "Left Arrow" for player 2).
Follow this question
Once you sign in you will be able to subscribe for any updates here