Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UCharacterMovementComponent
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 |
virtual bool ShouldComputePerchResult
&40;
const FHitResult & InHit,
bool bCheckRadius
&41; const
Remarks
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.
Parameters
| Name | 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(). |