UCharacterMovementComponent::FindBestNavMeshLocation

Performs trace for ProjectLocationFromNavMesh

Choose your operating system:

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 void FindBestNavMeshLocation
(
    const FVector & TraceStart,
    const FVector & TraceEnd,
    const FVector & CurrentFeetLocation,
    const FVector & TargetNavLocation,
    FHitResult & OutHitResult
) const

Remarks

Performs trace for ProjectLocationFromNavMesh