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 ShouldComputePerchResult
(
const FHitResult & InHit,
bool bCheckRadius
) const
Check if the result of a sweep test (passed in InHit) might be a valid location to perch, in which case we should use ComputePerchResult to validate the location.
Whether perching may be possible, such that ComputePerchResult can return a valid result.
Parameter |
Description |
---|---|
InHit |
Result of the last sweep test before this query. |
bCheckRadius |
If true, only allow the perch test if the impact point is outside the radius returned by GetValidPerchRadius(). |