Problem solved by mail:
The easiest way to orient a 2D sprite to a spline path is
Jake
The easiest way to orient a 2D sprite to a spline path is
Code:
transform.rotation = Quaternion.LookRotation(Vector3.forward,spline.GetTangentFast(tf));
Jake