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?
1 Like
Thank you,
but is it possible that he is jumping but not yet falling?
Hallo Curbeee!
There is a special functionality for this, get movement component and from that get is moving on ground!
4 Likes
Thank you!
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.
Could someone post a c++ example of this, because I am stumped trying to figure this one out?
In C++:
Include CharacterMovementComponent
#include "GameFramework/CharacterMovementComponent.h"
Check if Character is Moving on the Ground:
if (GetCharacterMovement()->IsMovingOnGround()) { //Isn't Jumping }
2 Likes
Hi, base on @anonymous_user_a9f83bc6 answer, please see below screen shot
1 Like
Thank you