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
  Can Curve Spline be used for an in game level editor. Lupos 30 53 06-03-2023, 10:58 AM
Last Post: _Aka_
  Mesh vertex colors Mattii 6 7 06-02-2023, 04:52 PM
Last Post: _Aka_
  Switch Spline Problem erenjeagerot 4 5 05-30-2023, 10:49 AM
Last Post: _Aka_
  Programming a first-person player/camera to follow a Curvy Spline kenmarold 1 2 05-21-2023, 05:03 PM
Last Post: _Aka_

Forum Jump: