Difference between FTransform::getLocation() and getTranslation()?
It seems they return same result
I was wondering the same thing. But from the source code you can see that there is no difference between them:
/**
* Sets the translation component
* @param NewTranslation The new value for the translation component
*/
FORCEINLINE void SetTranslation(const TVector<T>& NewTranslation)
{
Translation = VectorLoadFloat3_W0(&NewTranslation);
DiagnosticCheckNaN_Translate();
}
/** Set the translation of this transformation */
FORCEINLINE void SetLocation(const TVector<T>& Origin)
{
Translation = VectorLoadFloat3_W0(&Origin);
DiagnosticCheckNaN_Translate();
}