x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

thumbstick up is not working

alt text 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

Product Version: UE 4.15
Tags:
screenshot (21).png (208.8 kB)
more ▼

asked Jun 17 '17 at 12:55 PM in Blueprint Scripting

avatar image

hokage naruto
156 4 8 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Jun 17 '17 at 01:40 PM

avatar image

JerichoBLT
184 14 20 30

avatar image hokage naruto Jun 18 '17 at 04:45 AM

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

avatar image Ninjin Jun 18 '17 at 05:19 AM

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.

test

avatar image JerichoBLT Jun 18 '17 at 10:42 AM

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?

avatar image hokage naruto Jun 18 '17 at 11:04 AM

"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

avatar image JerichoBLT Jun 18 '17 at 12:33 PM

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.)

alt text

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.

avatar image hokage naruto Jun 19 '17 at 04:23 AM

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

avatar image Ninjin Jun 19 '17 at 10:02 AM

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

avatar image hokage naruto Jun 24 '17 at 03:20 AM

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

avatar image Ninjin Jun 24 '17 at 05:34 AM

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?

alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question