Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing range affects generated mesh
#6
Hi



Here is an basic drawing explaining the phenomena you are highlighting:

   

In black is a spline

In blue annotations, showing 4 points, each one corresponding to a range value.

In red and green two extrusions with minimal polygon count. This is an exaggerated case, but it is perfect to show the phenomenon.

As you can see, when you change the range of the extrusion (red vs green), the extruded shapes will diverge and not overlap each other. This issue is less present when you increase the polygon count. Besides increasing the polygon count, the other solution is to make the full extrusion made of several smaller ones, to match the shape of the partial extrusions you already have. This is what I done in the attached scene. Now Total is made of 3 parts, 2 of which matching your partial extrusions, and one matching the gap. That way, everything overlaps.

Did this help?
Have a nice day


Attached Files
.unity   GameJazz Change of shape 3.unity (Size: 147.39 KB / Downloads: 2)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: Changing range affects generated mesh - by _Aka_ - 08-16-2022, 12:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rasterized Path Range issue proton 3 12 1 hour ago
Last Post: proton
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: