/// <summary> /// Gets the interpolated source position. /// </summary> /// <param name="tf">The tf.</param> /// <param name="position">The position.</param> /// <param name="tangent">The tangent.</param> /// <param name="up">Up.</param> protected override void GetInterpolatedSourcePosition(float tf, out Vector3 position, out Vector3 tangent, out Vector3 up) { PathData.Interpolate(tf, out position, out tangent, out up); if (Space == Space.World) { position = Path.Module.Generator.transform.TransformPoint(position); tangent = Path.Module.Generator.transform.TransformDirection(tangent); up = Path.Module.Generator.transform.TransformDirection(up); } }