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"

Is Flying Not Working With Launch Character

I'm messing around with Blueprint and recently decided to check out the Launch Character Node.

For the Launch Velocity, I use my Actor Up Vector and Actor Forward Vector scaled by a value and then added together.

The code works perfectly. But when I want to check if the character is in the air/on the ground using the Is Flying node, it just doesn't work; it always returns false.

alt text

alt text

Product Version: UE 4.8
1.png (109.0 kB)
2.png (80.7 kB)
more ▼

asked Aug 04 '15 at 07:06 AM in Blueprint Scripting

avatar image

Kuroodo Ditory
23 5 8 12

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

1 answer: sort voted first

For me it works with Is Falling node. I think I understand that Is Flying is used for a different kind of character state, that also need to have the "Can Fly" property checked. Flying is for making characters fly freely, while the "Is Falling" tells you when the character is in the air for any other cause like jumping or falling from an edge.

Just try to replace your Is Flying node for Is Falling and see if it works.

more ▼

answered Aug 04 '15 at 01:30 PM

avatar image

699 32 37 151

avatar image Kuroodo Ditory Aug 04 '15 at 05:27 PM

Hey it worked!

I have always used Is Flying to check if the player is in the air. I believe it was also used on an official UE4 tutorial as well.

I had completely missed the Is Falling node last night somehow :P

avatar image piXelicidio Aug 04 '15 at 05:43 PM

Good to know it works. Happy blueprinting! piX

avatar image bzxo Nov 08 '15 at 03:50 PM

This is still relevant for actual flying characters though - I have a flying char that gets its Is Flying var set to false after it's been launched. Since I'm using air friction I can't use Is Falling, so problem..

(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