I added a function to calculate the tangent vector at a given distance along a given bezier curve. It's based on the bez_point function but stops recursing at the second degree and returns the difference between the two points.
Output from example usage:
Ultimately I'd like to have a function that returns a transformation matrix that can be applied to a point traveling along the curve, but I'm not sure if I'd inadvertently be reproducing existing functionality like extrude_bezier_along_bezier.
I added a function to calculate the tangent vector at a given distance along a given bezier curve. It's based on the
bez_point
function but stops recursing at the second degree and returns the difference between the two points.Output from example usage:
Ultimately I'd like to have a function that returns a transformation matrix that can be applied to a point traveling along the curve, but I'm not sure if I'd inadvertently be reproducing existing functionality like
extrude_bezier_along_bezier
.