0
Answered

2 players

PleaseStayAway 5 months ago • updated by Lazlo Bonin (Lead Developer) 5 months ago 1

hey, im trying to make a game with 2 players and i can move my player with wasd but don't understand how i could use the arrow keys to move the 2nd player

Bolt Version:
Unity Version:
.NET Version:
Answered

Hi PleaseStayAway,

You can accomplish this by creating two different sets of axes in the Unity Input Manager:

https://docs.unity3d.com/Manual/class-InputManager.html

For example, "Horizontal1" and "Vertical1" along with "Horizontal2" and "Vertical2". Map the first to WASD, and the second to the arrow keys.