Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCharacterMovementComponent
Description
Attempts to better align navmesh walking characters with underlying geometry (sometimes navmesh can differ quite significantly from geometry). Updates CachedProjectedNavMeshHitResult, access this for more info about hits.
| Name | ProjectLocationFromNavMesh |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include Path | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual FVector ProjectLocationFromNavMesh
(
float DeltaSeconds,
const FVector & CurrentFeetLocation,
const FVector & TargetNavLocation,
float UpOffset,
float DownOffset
)