UCharacterMovementComponent::FindNavFloor

Project a location to navmesh to find adjusted height.

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 bool FindNavFloor
(
    const FVector & TestLocation,
    FNavLocation & NavFloorLocation
) const

Remarks

Project a location to navmesh to find adjusted height.

Returns

True if projection was performed (successfully or not)

Parameters

Parameter

Description

TestLocation

Location to project

NavFloorLocation

Location on navmesh