}//if use FixedUpdate Vector3 EvaluateAt(float t) { if (t > knot_num) { t -= knot_num; } return(spline.Sample(t)); }
Vector3 EvaluateAt(float t) { if (t > 3) { t -= 3; } return(spline.Sample(t)); }