Figuring out correct tangents for subdivided spline

Hi all,

I have a very simple construction spline of 6 control points with a spline mesh component. This gives me a nice smooth mesh that follows the spline but unfortunately since the spline points are not evenly distributed the mesh components are stretched at different lengths. So to fix this I created another spline from the construction spline with more points that are evenly distributed then again applied a spline mesh component to get a mesh that follows the spline. This gives spline mesh components that are equally sized (not stretched) but unfortunetly it introduces “pinching” and “warping” in each mesh. Hopefully the images below explain better…


.


.


.

The reason I think this is happening is due to the tangents, basically I am not sure how to get correct tangents for the new subdivision points created? I have tried getting a normalised tangent at point/distance and multiplying it with the length of each section and that give me the results above, I have tried setting the points to curve, curve clamped, curve custom tangent, etc.

If any maths/programming experts know the correct way to do this, I would greatly appreciate it.

Thanks in advance,
Chris

Hi! did you find a solution for this? I’m passing trough the same issue… Thanks!!

yeah, same issue+1