- Home /
WASD: how to turn off their implicit movement in Unity
Here's my greenhorn problem: typing in my app moves some objects onscreen (the corresponding letters) to a row where they should link into the typed words. But WASD induce another movement that I can't get rid of (just like arrow keys).
How do I deactivate WASD movement and reduce them to simple letters?
I used Input.GetKeyDown ("a"). Some if's, nothing remotely fancy, straight from a Unity tutorial.
As far as I can tell, nobody hit this wall...'till now. Help, please.
Answer by robertbu · Nov 05, 2014 at 04:21 PM
You don't define what else is moving using the WASD keys, but as a guess, go to:
Project Settings > Input
Open up the settings for "Horizontal" and "Vertical" and remove 'a' and 'd' as alt negative and alt positive keys from "Horizontal" do the same for "Vertical".
Your answer
Follow this Question
Related Questions
Code for FP 2 Answers
Moving Camera with WASD 6 Answers
wasd movement rigidbody no bouncing 0 Answers
How can I create a sphere rotate in based on the direction it's moving? 1 Answer