- Home /
Question by
kie · Nov 14, 2011 at 09:18 PM ·
valuerangegetaxisxboxcontroller
Small value range from Input.GetAxis with XBox360 joystick
Hello, I have trouble getting the full range of the joystick on a xbox360 controller. When tilting the joystick just half about the way to one direction I am getting already the value 1.
How can I interpolate the value over the full axis range.
Here is my code:
Vector2 input = new Vector2(Input.GetAxis("Horizontal"), Input.GetAxis("Vertical"));
Thank you for your time!
Comment
Best Answer
Answer by kie · Dec 04, 2011 at 09:57 PM
Hey. We (a friend of mine, actually) did find a solution.
Make sure you set Sensitivity and Gravity in the Input Manager to 1, disable *Snap" and choose an as small as possible value for Dead (0.2 worked for us).
Have a nice day!