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"

Crouch And Jump Not Working

I made a player character but nothing happens when I use jump or crouch. Yes, I checked to make sure 'can jump' and can 'crouch is' enabled. This is my blueprint:alt text

Please help me get this working, thanks!

Product Version: UE 4.18
Tags:
unreal.png (83.9 kB)
more ▼

asked Nov 12 '17 at 09:46 PM in Blueprint Scripting

avatar image

Rymazon
51 7 8 11

avatar image Vaheva Nov 12 '17 at 11:13 PM

This is your character created from start or ready sample? Do you have buttons binded for InputAction Crouch and Jump?

avatar image Rymazon Nov 12 '17 at 11:30 PM

I created this character myself. Also, yes I do have buttons binded for crouch and jump, the problem is when I hit them, nothing happens.

avatar image Rymazon Nov 13 '17 at 01:02 AM

It may be worth noting that I did this in the first person template and it worked.

avatar image Vaheva Nov 13 '17 at 01:07 AM

Dunno. I never had problems with this and I created a lot of characters for test or game. Try to check event is fried - add Print String after Jump/Crouch press. I think Crouch is done on Capsule - do you have it and Half Height is correct?

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

2 answers: sort voted first

I found the problem, I had set simulate physics on, I just needed to turn it off.

more ▼

answered Nov 18 '17 at 04:36 PM

avatar image

Rymazon
51 7 8 11

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

Make sure you have an anim class selected, you can change that by selecting your mesh inside your character BP and change Animation Mode to Use Animation Blueprint and change Anim class to your anim class, if you don't have an anim class you'll have to create an animation blueprint (Right click >> Animation >> animation blueprint) there you can handle the animation for when you crouch or jump, but you should at least see your character jump when you call the Jump function, is your character not doing anything at all when you press the jump button ? make sure the jump velocity is not 0 in the CharacterMovement.

more ▼

answered Nov 13 '17 at 03:13 AM

avatar image

SenToRious
485 4 7 13

avatar image Rymazon Nov 13 '17 at 11:16 PM

No, I do not see anything at all when I jump or crouch. The jump velocity is at 420, no meme needed.

avatar image SenToRious Nov 13 '17 at 11:21 PM

Have you tried printing a text to the screen in the inputActionJump event to see if it gets fired when pressed ?

avatar image Rymazon Nov 14 '17 at 10:52 PM

Yes, it shows up on the screen when I hit the buttons.

(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