Thumbstick up is not working

i want my character to jump if anyone drag right thumbstick up but it is not working.right thumbstick up node is not returning a value please help

sorry but i didn’t get can you please send screenshot of your blueprint

Yes, that’s the blueprint I used. Thanks, Ninjin!

If you’re still having trouble, the problem might be your controller? If that’s the case, let me know. I might be able to help you fix it. Dose your controller work well on other games? Or for other actions in Unreal?

“can jump” is checked already even then it is not working.i didn’t check my controller for other games but when i set my controller like gamepad right thumbstick x axis then it works.sorry for my bad english

You say it works for x axis but not y? It sounds like the analog stick is not calibrated properly.

Try printing the axis values to the screen like this: (Sorry, this image shows the left thumbstick, but you need to do it for the right.)

190820-ue4-screenshot37.jpg

Normally you should get a value of 0.0 when the stick is centered. Pushing straight up should give a value of 1.0 on y and straight down gives -1.0. Push right for 1.0 on x and left for -1.0.

If these are not the values you’re getting, your controller is not calibrated properly. Try unplugging it and plugging it back in with the stick centered. If that doesn’t work, you need to search the internet on how to calibrate your controller. The process may differ depending on what controller you’re using, and maybe even your operating system. So keep that in mind.

thanks for giving your time but my problem is not this i mean to say that in the case when i’m using get left thumbstick xor y axis my jump is working but my character is jumping even if i drag my thumbstick up or down i want a solution that my charactr only jump when i drag thumbstick up

Go to your “Character Movement Component” and make sure “Can Jump” is checked.

Now in the blueprint: drag a wire out from “Released” and connect it to a “Stop Jumping” node.

I was able to get it working like that.

In your Components tab, click on CharacterMovement, in your Details tab you can search for “can jump”. Make sure to enable it and also add “Stop Jumping” after releasing the button.

https://i.gyazo.com/87166ef0001a59b743d447348b67ccc8.png

So, what happens if you use “Print String” after using GamepadRightThumbstickUp is pressed? Is Unreal giving you a message?

no after adding print string it isn’t returning any value

If this is not printing “Hello” on your screen, I would guess it’s the controller. Which one are you using and is there no chance you can test another one?