Correct me if I'm wrong but Input.GetAxis() only returns -1, 0, or 1. I was hoping it would return .5 if the analog stick was tilted halfway in the positive direction.
In most games with analog controls you tilt the stick slightly to make the character walk and you tilt the stick all the way to make the character run.
Is there a way to find out how much the analog stick was tilted? Or is there some other way to get analog controls working?
asked Dec 20 '10 at 01:55 AM
That is what it does. Like the docs say: "The value will be in the range -1...1 for keyboard and joystick input."
answered Dec 20 '10 at 02:05 AM