hello everyone I'm having a problem with the definition of input key.
I defined the key "a" and "s" on the Input panel, that later will be used to rotate an GameObject. The problem is that it only detects the input if I press (and realize) the key. If i press the key continuously it does nothing. The pre- defined "vertical" and "horizontal" input detects the key pressing continuously. How do i make that ?
asked Feb 08 '10 at 03:09 PM
What code are you using to poll the key input? The easiest way to check if a key is continuously held down is to check the Input.GetKey() or Input.GetButton() methods.
answered Feb 08 '10 at 04:17 PM
jonas echterhoff ♦♦