Hello i am having trouble trying to fix this(See the picture Below) problem with my racetrack i can create the mesh around a Spline(Catmull), but it does not render all the way like a loop, Does anyone know how to do this?
You can download my Catmull.cs on this thread, so you can help me figure this out.
When creating meshes, typically, you “close the gap” at the end, by drawing your triangles from the end points of your array, back to the start points. I haven’t checked the math on your formulas, so I’m assuming they aren’t using a shortened version of Pi or anything, causing it to come up short.
But skimming your script, I can see where POS gets reset to 0. But I don’t see the actual mesh drawing where it points back to the start points.