Bezier Curves Physics and Ghost Vertices

Hi everybody

Yes I would be very interested about your code.
I am struggling to do the following (please open the attachment):
 

Please have a look at the pic.

For a bouncing ball on a bezier curver I would like to dynamically calculate the absolute distance between the anchor point of the ball and the corresponding coordinate on the bezier curve at any given x while the result is the distance in pixels of y.

The requirement would be that at any given x one could calculate the corresponding coordinates on the bezier curve.

Do you think that it is possible and does anyone have an idea how to do it?

Thanks for any reply

Matteo

Hi, sorry for the delay.

You can get the latest helper file from here : http://bit.ly/1OLni8F

By default this will use Chain physics for Bezier curves.

Let me know how you get on.

Hi how can I get the distance betwen the bouncing ball and the corresponding point on the bezier curve with same x-coordinate?