SA.FullBodyIK._LerpDir C# (CSharp) Method

_LerpDir() public static method

public static _LerpDir ( Vector3 &src, Vector3 &dst, float r ) : Vector3
src Vector3
dst Vector3
r float
return Vector3
		public static Vector3 _LerpDir( ref Vector3 src, ref Vector3 dst, float r )
		{
			float theta;
			Vector3 axis;
			if( _ComputeThetaAxis( ref src, ref dst, out theta, out axis ) ) {
				Matrix3x3 basis;
				_LerpRotateBasis( out basis, ref axis, theta, r );
				Vector3 tmp;
				SAFBIKMatMultVec( out tmp, ref basis, ref src );
				return tmp;
			}

			return dst;
		}
FullBodyIK