Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
Include |
#include "GameFramework/CharacterMovementComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual bool ShouldCheckForValidLandingSpot
(
float DeltaTime,
const FVector & Delta,
const FHitResult & Hit
) const
Determine whether we should try to find a valid landing spot after an impact with an invalid one (based on the Hit result). For example, landing on the lower portion of the capsule on the edge of geometry may be a walkable surface, but could have reported an unwalkable impact normal.