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 helps immensely. Thank you.
Available for freelance work—feel free to reach out.
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
Photo Volume Spots problem with spacing Bond007 3 14 01-20-2025, 12:27 PM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 51 01-20-2025, 12:25 PM
Last Post: _Aka_
  Scaling a closed curve rickgplus 1 20 01-16-2025, 06:52 PM
Last Post: _Aka_
  Extrude mesh along spline. New and confused user GhostStalker 3 14 01-02-2025, 09:58 AM
Last Post: _Aka_

Forum Jump: