Transition along a Bezier curve

Hi all,

Suppose that we have the following transition:

local bat = display.newImage( … )

local t1 = transition.to( bat, { time = 4000, x = 200, y = 200 } )

Well, of course bat will go from it’s origin to (200, 200) along a line. My question is:
How can I use the module below to transition along a given Bezier curve?

Could you provide me an example? Is that the best (or maybe correct) way? or

there’s some native Corona way to do that?

https://developer.coronalabs.com/code/bezier-curve-corona-sdk

Thank you very much!

Hi people! Someone can help me with that?

Thanks!

Hi people! Someone can help me with that?

Thanks!

I also need help to make transition of object along a Bezier curve by using transition.to() method. 

Hi @hrvoje.ljubich,

Please check out this tutorial and sample code here:

http://coronalabs.com/blog/2014/09/09/tutorial-working-with-curved-paths/

Brent

I also need help to make transition of object along a Bezier curve by using transition.to() method. 

Hi @hrvoje.ljubich,

Please check out this tutorial and sample code here:

http://coronalabs.com/blog/2014/09/09/tutorial-working-with-curved-paths/

Brent