Move a pawn to a location using UPawnMovementComponent

You would give it a ‘unit vector’ that points from your current location to the destination.

(Destination - GetActorLocation()).GetSafeNormal()
1 Like