11-23-2023, 09:02 PM
Hi
The mesh generator is not the problem. The problem is from the orientation of the spline. To see what I am talking about, activate the display of the spline's orientation. To do so, go the toolbar, then the View Options, then tick "Orientation". Here is a video extract where this operation is done, plus more explanation about the orientation of splines.
https://www.youtube.com/watch?v=hHLdW_FRtfw&t=811s
So, based on what the gizmo displays, the orientation explanation in the tutorial and the documentation I shared in my earlier post, make sure your spline's control points are rotated properly to avoid the 180 rotation. I suggest to try to fix the spline first by hand, so you can visualize what's going on, and once you see what the issue is and what its fix is, then try to implement the fix in your spline generating code.
I hope this helped.
Have a nice day
The mesh generator is not the problem. The problem is from the orientation of the spline. To see what I am talking about, activate the display of the spline's orientation. To do so, go the toolbar, then the View Options, then tick "Orientation". Here is a video extract where this operation is done, plus more explanation about the orientation of splines.
https://www.youtube.com/watch?v=hHLdW_FRtfw&t=811s
So, based on what the gizmo displays, the orientation explanation in the tutorial and the documentation I shared in my earlier post, make sure your spline's control points are rotated properly to avoid the 180 rotation. I suggest to try to fix the spline first by hand, so you can visualize what's going on, and once you see what the issue is and what its fix is, then try to implement the fix in your spline generating code.
I hope this helped.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.