UCharacterMovementComponent::IsValidLandingSpot

Verify that the supplied hit result is a valid landing spot when falling.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

virtual bool IsValidLandingSpot
(
    const FVector & CapsuleLocation,
    const FHitResult & Hit
) const

Remarks

Verify that the supplied hit result is a valid landing spot when falling.