How do I move a ball along a specific UiBezierPath? Is that possible?
I\'ve tried everything including doing a hit test using
-(BOOL)containsPoint:(
This is a really hard problem. You'll need to determine the point on the path closest to the touched point, which is a complicated math problem. This is the best thing I could find using a quick Google search. (Beware: the code is in BASIC.)
http://www.tinaja.com/glib/bezdist.pdf
I admit, I'm tempted to write this myself. It'd be very useful, and I like a challenge.