Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incorrect mesh alignment after extrusion on curved path
#7
Unfortunately not: the half circle was just an example to illustrate the issue, not that I needed a half circle explicitly for my usecase. In my game, all pieces are made of 2 control points, which can be moved by the player at runtime.

I just created another example scene that shows a more realistic use case: a straight piece (shown in green) placed right after a "S-Curve" piece (shown in red):
   

As you can see, there's a gap at the bottom (and an overlap at the top)
I'm attaching the scene to this post, in case you need it. Try moving the leftmost control point up & down (well, Z axis in the provided scene) to see the issue. No issue at all with 2 straight pieces, of course Smile

Then again, the problem disappears when using cache with a very high density, as discussed before. Or maybe the gap becomes so small that it's no longer noticeable, I don't know '^^


Attached Files
.unity   SampleScene_v2.unity (Size: 149.95 KB / Downloads: 1)
Reply


Messages In This Thread
RE: Incorrect mesh alignment after extrusion on curved path - by Thinkurvy - 04-16-2024, 02:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 320 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,327 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,638 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 1,834 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: