float distance = FVector::Distance(SelfLocation, TargetLocation);
float p = .f / distance;
DrawDebugPoint(GetWorld(), FMath::Lerp(SelfLocation,TargetLocation,p),,FColor::Red,false,0.03);
2021-07-04 00:26:59
float distance = FVector::Distance(SelfLocation, TargetLocation);
float p = .f / distance;
DrawDebugPoint(GetWorld(), FMath::Lerp(SelfLocation,TargetLocation,p),,FColor::Red,false,0.03);