Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Volume Mesh bug based on whether input spline is closed
#1
Hey there,

I have encountered a weird bug when using the volume mesh component of curvy generator. Please see the file attached for the bug repro scene.

The cross section of the mesh changes doesn't match the actual spline shape if "Closed" is checked on "Input Spline Shape_2_Shape". 

As you can see, the bottom right corner of the cross section is deformed.

Closed:
[Image: UhBdXwP.png]

Open:
[Image: P10U4hk.png]


Attached Files
.unity   ClosedSplineBug.unity (Size: 137.24 KB / Downloads: 1)
Reply
#2
Hi
This is due to the Optimize option being true for your cross section. Optimize takes into account the whole shape to try to find the most optimized reprtition of vertices. So by changing the shape (setting it to close in your case) the result may vary slightly. To avoid this, disable Optimize.
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
(12-10-2022, 01:25 PM)_Aka_ Wrote: Hi
This is due to the Optimize option being true for your cross section. Optimize takes into account the whole shape to try to find the most optimized reprtition of vertices. So by changing the shape (setting it to close in your case) the result may vary slightly. To avoid this, disable Optimize.
Have a nice day

Thank you! This helped a lot!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 7 1,249 07-13-2025, 07:11 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 269 06-09-2025, 06:49 PM
Last Post: _Aka_
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 248 06-07-2025, 09:44 AM
Last Post: _Aka_
  Filling a closed spline dynamically rickgplus 1 458 04-16-2025, 08:56 AM
Last Post: _Aka_

Forum Jump: