   Following a Bezier Curve
  I''m trying to implement some code to follow a bezier curve.  I can draw the thing with no problem, with the glEvalCoord() function, but I can''t grab the coordinates to translate too.Anyone know the best way to do this or can point me in the right direction?  I''ve tried to find a tutorial or something on it, but with no luck.Thanks 
  The basic is this:Give 3 points that make up the curve (p0, p1, p2) and a parameter t which varies from 0 to 1 (0 being the start of the curve, 1 being the end) any point on the curve can be calculated like so:P(t) = ((1 - t)^2)*p0 + 2*(1-t)*t*p1 + t^2*p2note: x^2 = x squared, not x xor 2Here is an article on rendering bezier surfaces. Before getting to surfaces they talk about bezier curves which should help you out.ClickyYou will need a gamasutra registration (free) [edited by - terminate on March 23, 2004 6:40:51 PM]