Originally Posted By: Espér
not really, cause my paths have more than 8 waypoints ^_^"

Dude Oo
You should really be capable of changing this code to work with any amount of nodes for it is as hard to do as lifting a feather =P

If you do not like this code you should look into splines. They are easy to implement and work really well. -> Wikipedia.

You can calc it pretty much like that:
Code:
fs[0]=2.0*time_*time_*time_-3.0*time_*time_+1.0;
	fs[1]=time_*time_*time_-2.0*time_*time_+time_;
	fs[2]=-2.0*time_*time_*time_+3.0*time_*time_;
	fs[3]=time_*time_*time_-time_*time_;
	temp_v.x=(fs[0]*spline.start.x+fs[1]*spline.start_tangent.x+fs[2]*spline.end.x+fs[3]*spline.end_tangent.x);
	temp_v.y=(fs[0]*spline.start.y+fs[1]*spline.start_tangent.y+fs[2]*spline.end.y+fs[3]*spline.end_tangent.y);




Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com