I have created a game where the player draws a line and an object follows that line.
The issue is that the line is pretty jaggedy and unsmooth, I’d like a smooth line similar to these air traffic control games you see where you draw the plane’s paths.
I am aware of the catmull algorithm, and have attempted to implement the sample code found here:
http://developer.anscamobile.com/code/curve-fitting-catmull-spline
It was a little unsuccessful due to the complexity of my code and the way I generate the array of points. Had anyone had any luck doing it any other ways? [import]uid: 62042 topic_id: 15965 reply_id: 315965[/import]