Open ndumais opened 2 months ago
Hey,
It's been a while since I've worked on this so I'll need to check out the code a little more closely to figure out what's going on. Either way that's a strange issue.
For now I'd probably play around with the extrusionInterval
parameter and see what happens.
Also if you want you can upload your mesh here and maybe I'll try it myself (no guarantees haha)
Hey,
It's been a while since I've worked on this so I'll need to check out the code a little more closely to figure out what's going on. Either way that's a strange issue.
For now I'd probably play around with the
extrusionInterval
parameter and see what happens. Also if you want you can upload your mesh here and maybe I'll try it myself (no guarantees haha)
For sure here you go, you should be able to reproduce it with that one https://file.io/5ysK0MU8pXUG (temporary link)
I did play with the extrusion interval a lot, down to 0.1 even, cool results but the gap seems consistent across different extrusionIntervals.
I was able to come up with a "dirty" hotfix involving a gapAdjustment variable to artificially add a gap which I can make a PR for if you can't find a proper way to fix it. It can be left at 0 for the same result as your code, For my mesh, I landed with a value somewhere around -0.5 but the result is not perfect, just ok, heaps better than without out though.
Hey, first of all, amazing idea, this makes so much sense and should be part of the spline package to begin with I've tried to make my own mesh and set it up in a similar way as you do but for some reason, there's always a gap between each
(same settings/environement for both, just changing the mesh) Yours
Mine
I don't see something particularly different with my mesh when looking in unity Yours
Mine