Controller input not working for B button?

So I’m implementing controller support for my video game and the keyboard works fine, Most of the controller works fine.

I have a slide mechanic that is also tied to a glide mechanic. When the player is on the ground and presses shift they slide, if they’re in the air they glide. I tied this to the B button for the controller and it doesn’t work with the slide. It will glide while in air but it just won’t slide. Why could this be happening? All the other buttons work fine.

It doesn’t work on any button I apply it to. If I switch it to X, the trigger, whatever, it still doesn’t work.

I think I realized my issue. I was checking to see if WASD was down to initiate the slide but I was checking to see if the analog stick was moving.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.