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. 

Jumping conflicting with falling

Hello there I'm creating an infinite runner which i try to make him jump before the gap and when he can't jump he falls into the gap because of gravity Now here is the problem When i make him jump he falls I mean jumping is ok but when landing the blueprint assumes it falling and my falling custom event executes I've attached the screenshots of blueprintsalt text

alt text

alt text

Product Version: Not Selected
Tags:
more ▼

asked Jan 20 '15 at 12:25 PM in Blueprint Scripting

avatar image

pashkan
1 1 2 2

avatar image Asher S Einhorn Jan 24 '15 at 11:58 AM

Sounds like you just need to set the state to on ground after the character lands? Does the animation blueprint just never leave the falling state?

avatar image pashkan Jan 24 '15 at 01:19 PM

when character is running it's ok when i press the jump key it tries to jump even i see 1 frame of the jump blueprint but it's switches to the falling flipbook animation

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

2 answers: sort voted first

I'm guessing there's a conflict between your inair var setting the falling anim and the thing that's setting the jumping anim. what you really want to do is make sure the state machine can't enter the falling node unless the character is moving downwards.

So right now maybe you have the falling anim playing when it reads the character is in air. You need

IF in air AND velocity.z > 0 TRANSITION TO STATE: jumping

IF in air AND velocity.z < 0 TRANSITION TO STATE: falling

more ▼

answered Jan 24 '15 at 01:27 PM

avatar image

Asher S Einhorn
645 94 80 180

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

here is the change depending on your answer but the result is the same

alt text

screenshot (32).png (293.1 kB)
more ▼

answered Jan 24 '15 at 02:00 PM

avatar image

pashkan
1 1 2 2

(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