Remove keyboard control from first person controller?

How can I remove the key of the keyboard from the F.P.C.?

I mean the key A,D,X,W, and leave only the directional arrows…

I should edit the CharacterMotor or input controller script?


Difficult to say without knowing what you want to do exactly but there are a couple of ways you could do it. I would say you could just go into project settings and change the key settings if you don’t want WASD to work. (Edit, Project Settings, Input).

(There should be “alternatives” in forward, backward, left and right etc. Just take the alternatives out and set the main key to the ones you want.)

Hopefully that should be what you want?