Spline Path Generation

hello there, i am trying to create an Spline (Bline) Path/Road Script, i’ve managed to figure out the math but i’ve ran into some issues while creating the wedges of the path.
My goal is trying to create something like this:
image
a friend of mine showed an documentation of how to create such thing but there wasnt any source code provided.
image
i’ve tried multible times to create the wedges but failed.
spline (1).rbxl (17.7 KB)

1 Like

Idk if it’s obvious but you only create 1 wedge for each set of 4 points instead of 2.

i’ve already figured it out, using 4 wedges per section. thanks for the reply tho