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
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 6 11 5 hours ago
Last Post: Thinkurvy
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_

Forum Jump: