Transform Lerp is showing error in c++

I am trying to lerp transform. But it is showing some error. Can anyone help me

But Fvector is working

1 Like

Hello! It calls this code

	template< class T, class U > 
	static FORCEINLINE_DEBUGGABLE T Lerp( const T& A, const T& B, const U& Alpha )
	{
		return (T)(A + Alpha * (B-A));
	}

So, it is computed with operator- and it seems that FTransform has not this one. You can make Lerp with Location, Rotation and Scale separately and after that make FTransform from them…