03-13-2019, 11:04 AM
Hi
You will need to define the positions and tangents of the curve at the relevant points based on your constraints, and then transpose those positions and tangents to the spline. To do that, the best solution I think is to use splines with interpolation type set to Bezier. With Bezier splines, you can set the handles of each control points, which are the tangents of the curve at that point.
Here are some links that helped me figure out the mathematics behind approximating circular arcs with Bezier splines
https://www.researchgate.net/publication/265893293_Approximation_of_a_cubic_bezier_curve_by_circular_arcs_and_vice_versa
http://hansmuller-flex.blogspot.com/2011/04/approximating-circular-arc-with-cubic.html
http://hansmuller-flex.blogspot.com/2011/10/more-about-approximating-circular-arcs.html
I hope this helped
Have a nice day
You will need to define the positions and tangents of the curve at the relevant points based on your constraints, and then transpose those positions and tangents to the spline. To do that, the best solution I think is to use splines with interpolation type set to Bezier. With Bezier splines, you can set the handles of each control points, which are the tangents of the curve at that point.
Here are some links that helped me figure out the mathematics behind approximating circular arcs with Bezier splines
https://www.researchgate.net/publication/265893293_Approximation_of_a_cubic_bezier_curve_by_circular_arcs_and_vice_versa
http://hansmuller-flex.blogspot.com/2011/04/approximating-circular-arc-with-cubic.html
http://hansmuller-flex.blogspot.com/2011/10/more-about-approximating-circular-arcs.html
I hope this helped
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.