Is it possible to change which player uses which gamepad/keyboard at runtime?
I'm trying to make a local multiplayer game and I reached a logical dead-end when trying to set up keyboard/gamepads for play.
I know its possible to have player 1 on a keyboard and the other players on gamepads or all player on gamepads by skipping assigning gamepad to player 1, but what I'm trying to do is to have a press a key to join system where each player are assigned to the gamepad/keyboard mouse they pressed an input on first.
Is it possible to directly assign gamepad/keyboard mous to a controller/player at runtime?
I never found a way to do this myself in blueprints, but what I did was create a system for rerouting the inputs from one playercontroller to another playercontroller. I had a data structure that keeps track of which player routes to which other player's functions.
I am sure there is a much better way. I just haven't found it yet.
answered Dec 07 '18 at 06:29 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here