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"

How do I ignore falling animation to play another?

I am trying to make the character play a backflip animation on Overlap, but when the player falls off the edge, is plays the falling animation.

How do i ignore the "is falling" for this?

alt text

(ignore my blueprint method, it was only to show the problem...)


alt text

Might be abit messy

Product Version: UE 4.16
capture.png (45.9 kB)
capture.png (223.8 kB)
more ▼

asked Jul 04 '17 at 01:38 AM in Blueprint Scripting

avatar image

36 4 7 13

avatar image cridia Jul 04 '17 at 02:02 AM

Could you post your animblueprint setup as well? It's hard to figure out your problem otherwise.

avatar image AzzaMatta2571 Jul 04 '17 at 02:14 AM

I have updated the question with UPDATE 1


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

1 answer: sort voted first

Hmmm, from the additional info it seems you are working with paper2D (correct me if I'm wrong). I have never worked with Paper2D before, so I am not sure whether this will work. Since you want to ignore the falling bit only when the character is supposed to do a backflip, a potential solution would be something like this (your bool being the backflip one);

alt text

That being said, so many branches look kinda risky and hard to edit to boot. Have you considered using an enum for your various animation states? That way, you could reduce all those branches into a single switch statement. Granted, you would be stuck to a single enum value rather than a collection of bools, but considering your current implementation it probably won't have any adverse effects at least. It would save you on a lot of variables and clutter. Anyway, just some food for thought.

andbool.jpg (44.8 kB)
more ▼

answered Jul 04 '17 at 06:06 AM

avatar image

815 30 26 105

avatar image AzzaMatta2571 Jul 04 '17 at 12:19 PM

Thank you very much, your method shown in the image works perfectly!


(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