UCharacterMovementComponent::ProjectLocationFromNavMesh

Attempts to better align navmesh walking characters with underlying geometry (sometimes navmesh can differ quite significantly from geometry).

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 FVector ProjectLocationFromNavMesh
(
    float DeltaSeconds,
    const FVector & CurrentFeetLocation,
    const FVector & TargetNavLocation,
    float UpOffset,
    float DownOffset
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss