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"

How to check whether Character is on ground

Hello, how can I check whether the Character is on the Ground or not? And if not, how can i get the location of the ground below him?

Product Version: UE 4.16
Tags:
more ▼

asked Jun 10 '17 at 02:59 PM in Blueprint Scripting

avatar image

Curbeee
20 2 4 5

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

2 answers: sort voted first

Hallo Curbeee!

There is a special functionality for this, get movement component and from that get is moving on ground!

more ▼

answered Jun 10 '17 at 04:17 PM

avatar image

AZTECCO
1k 17 8 15

avatar image Curbeee Jun 10 '17 at 04:41 PM

Thank you!

avatar image 78Star Jun 09 '19 at 12:31 AM

Could someone post a c++ example of this, because I am stumped trying to figure this one out?

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

Hi Curbee,

You can use "Is Falling" node and check fall state.

alt text

isfall.png (97.2 kB)
more ▼

answered Jun 10 '17 at 03:03 PM

avatar image

Sertac Ogan
1.5k 30 11 46

avatar image Curbeee Jun 10 '17 at 03:51 PM

Thank you, but is it possible that he is jumping but not yet falling?

avatar image Sertac Ogan Jun 10 '17 at 04:25 PM

This function returns the false value when the character fall the ground. If it is not on the ground of the character return true value.

(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