- Home /
Controller 4th axis not working!,4th Controller Axis not working!
The 4th axis is not being detected on unity. I am using an xbox one controller with windows 10.
Here's the input manager,
And here is the code,
void Roll()
{
float roll = rollSpeed * Time.deltaTime * Input.GetAxis("Roll");
transform.Rotate(0, 0, roll);
}
However when I move the right stick, nothing happens! My pitch and yaw are both working so I am confused to what the problem is?
Thanks in advance!
EDIT: Using Q and E is working fine!
Answer by Rod_Info · Mar 13 at 12:57 AM
Hi! On the second axis "Roll", use the property type: "Joystick Axis".
:)
Your answer
Follow this Question
Related Questions
How do I standardize my game's input to different types of controllers? 1 Answer
noob problem on Android. mobile single stick does not appear on device 2 Answers
Can you fix/update the old scripts at Unity.2019.1? 0 Answers
Android multiple gamepad/controller/joystick support? 1 Answer
Unity Remote 5 not working on my Nexus 6 - Marshmallow. 0 Answers