I am using a line of code to move an AI character to a location based on MoveToLocation with Fvector
i am trying reset this when i am getting to the position but i have found that this line
float distance = FMath::Abs(FVector::Dist(nextWayPoint, GetPawn()->GetActorLocation()));
The lowest value of distance will be a bit over 263 and not 0.
My question is why that happens and if there is a better approach to the subject.