Trying to make a pair of characters on a 2d environment move different. I need one to use wasd and the other to use the arrow keys
s/"down"=cause object behind them to change position when they're in front of it.
Are there any guides for altering the control scheme of FPS walker?
asked Oct 13 '10 at 08:51 PM
You should look into keycodes for Input.
What you need to do then is implement some sort of condition in which a MonoBehaviour script can be applied to 2 different Game Objects but accept 2 different forms of input.
Perhaps a boolean which you could set to true for player 1 and leave false for player 2, which on Update or wherever you're getting your input in check for the value of that variable and switch between input schemes.
Hope that helps.
answered Oct 13 '10 at 09:11 PM