In my current OpenGL project I am trying to make the links of a chain hug the contours of a Bezier curve. How can I find the angle between two points on the curve so that I can position the links of the chain so that they follow the curve.
Here is a picture of the curve and chain, I need some way of rotating the links so that they follow the curve.
Does anybody here know how to do this?