Verifying impossibility of overloading UFunctions

SO:

bool SetActorLocation(const FVector& NewLocation, bool bSweep=false, FHitResult* OutSweepHitResult=nullptr, ETeleportType Teleport = ETeleportType::None);

cannot be overloaded in my header files to:

bool SetActorLocation(const double x, const double y, const double z, bool bSweep=false, FHitResult* OutSweepHitResult=nullptr, ETeleportType Teleport = ETeleportType::None);

? And if so, where. In ProjectName.h? Cheers.

UFUNCTION’s cannot be overloaded, but since FVector is based on a “double” type as of 5.0 anyway, this seems useless in this case.

Thanks for the reply. I was just thinking it would be easier to throw the values directly into an overload rather than have to create a new FVector and hand that in.