TInterpTo not exposed in c++

Hi,

I’ve been wondering…why isn’t the method TInterpTo/TLerp exposed as part of the FMath class? Is it because of it’s dependency to FTransform?

It seems that it belongs to UKismetMathLibrary, which can’t be used in c++ (as it result in an unresolved external symbol). Am i missing something?

Thanks,
Riccardo.

Well alternatively you could just copy it to your code

https://github.com/EpicGames/UnrealEngine/blob/69b5693c869697b828e1f2c24004ff1481b5fb98/Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp#L898

Or even better, edit it to FMath and submit a change :slight_smile:

I ended up writing my own MathUtils. Not totally happy with it but it works, so…
Thanks!