Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h |
Include |
#include "GameFramework/Character.h" |
bool CanJumpInternal() const
Customizable event to check if the character can jump in the current state. Default implementation returns true if the character is on the ground and not crouching, has a valid CharacterMovementComponent and CanEverJump() returns true. Default implementation also allows for 'hold to jump higher' functionality: As well as returning true when on the ground, it also returns true when GetMaxJumpTime is more than zero and IsJumping returns true.
Whether the character can jump in the current state.