Parallel Splines

I was working on a spline system that allows me to spawn multiple splines with an additional offset
It’s been quite a while since the last reply on this thread, but ill leave this solution for any newcomers.

This is how I achieved the desired result :
Get the tanget and location at the spline distance or spline point.
in my case, I got the “tanget at a distance along spline” as well as the “location at distance along the spline” or spline point, all of the vectors were ofcourse pulled from the Main Spline

then get rotationfromxvector from the tanget

then get the right vector of the obtained rotation

multiply the right vector by the offset you wish to have between splines in my case i called it distance

lastly, add the result of multiplication by the location from the spline point or distance

the final vector will be the location of your generated spline.

code and result :

4 Likes