- Home /
Input.GetAxis normal behaviour when both axis inputs active?
So, I've been using Input.GetAxis for a while, and didn;'t notice this until recently.
Not sure if it's an edge case, normal behaivour or what, but I've been using the arrow keys/WASD for movement in the horizontal axis. It works fine, until I hold one direction, and press the other direction at the same time. What would seem most logical to me, is that the combination of these buttons should drop the return from GetAxis to zero, which is what GetAxisRaw returns in the same situation. What GetAxis does is it keeps returning the original direction.
Has anyone else encountered this? If so, how did you fix it?
Your answer
Follow this Question
Related Questions
Game doesn't recognize X-axis input from XBox 360 controller 1 Answer
`Input' does not contain a definition for `GetAxis' 2 Answers
Input.GetAxis("Vertical") on touch devices. 2 Answers
S, D, and C keys not working together 1 Answer
fixed the problem 2 Answers