Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incorrect mesh alignment after extrusion on curved path
#9
In file CurvySplineSegment.cs at line 1340, you will find this method:
public Vector3 GetTangent(float localF, Vector3 position, Space space = Space.Self)
In it, you will find this line
const float fIncrement = 0.01f;
Change the value to 0.001f, or even 0.0001f. You will get better results, but might see issues in small splines (around 1m length or less).
This is just a workaround. A real fix that I should implement is to set that value dynamically, depending on the length of the spline segment.
Did this fix the issue?
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


Messages In This Thread
RE: Incorrect mesh alignment after extrusion on curved path - by _Aka_ - 04-16-2024, 11:47 PM

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

Forum Jump: