RealDocs

UCharacterMovementComponent::IsFalling

function Engine Blueprint Since 4.0
#include "GameFramework/CharacterMovementComponent.h"
Access: public Specifiers: UFUNCTIONBlueprintCallablevirtualoverride

Description

Returns true if the character is currently in the Falling movement mode, which includes both the upward and downward phases of a jump.

Signature

virtual bool IsFalling() const override

Return Type

bool

Caveats & Gotchas

  • Returns true during the full arc of a jump — both rising and falling. It is not equivalent to 'moving downward'.
  • Returns false during Flying and Swimming modes even if the character is moving downward in world space.

Example

Play a falling animation C++
bool bAirborne = GetCharacterMovement()->IsFalling();

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.