Thursday, 22 August 2013

Jump to arbitrary point on a UIBezierPath

Jump to arbitrary point on a UIBezierPath

I am developing an app that animates a motion on a UIBezierPath (made of
several curves). In some use cases I need to place an item so it will
start moving from some point on the route, and not from its beginning. E.g
put item in the middle or 2/3 point of the path. How can I calculate the
location of such point?
Thanks!

No comments:

Post a Comment