|
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?
(comments are locked)
|
That is what it does. Like the docs say: "The value will be in the range -1...1 for keyboard and joystick input." Oh ok. Thanks I got it to work. I figured out that the Dead setting in the Input manager was set to 1. So its the Dead setting that was the problem.
Dec 20 '10 at 02:28 AM
ronin sixshooter
(comments are locked)
|
