Convert FVector to FNavLocation?

Probably a simple question but is it possible to convert an FVector to an FNavLocation object?
Basically I have this:

FNavLocation       StartingPoint;
StartingPoint = GetWorld()->GetFirstPlayerController()->GetPawn()->GetActorLocation();

But get the following error:

no operator matches these
operands,operand types are:
FNavLocation = FVector

Is this type of conversion possible? Thanks for any help.

1 Like

As you can see from the FNavLocation struct, one of the constructors allows you to pass in a location and a nav node reference: