Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curvy discards Input Spline Range
#3
(11-22-2023, 11:34 PM)_Aka_ Wrote: Hi
What version of Curvy Splines do you use?
Also, can you send a reproduction case?
Thanks

I am using Unity 2022.3.8f1.
I believe my version of Curvy is 8.6.1
Here is a prefab I made of my Curvy generator: https://drive.google.com/file/d/1tjkLcNtGK7m2TRD5vPzswlxELD33Nnd0/view?usp=sharing

Steps I took to get there:
1) Create a scene, with a Curvy Generator that has components like this: https://i.imgur.com/YG0Aqul.png
I do not know if the other components are relevent. What I would try is to have this minimum stack:
3 Input Spline paths, 2 input spline Shapes,  3 shape extrusion, 3 volume mesh, 3 volume caps, 1 create mesh.

2) Connect the nodes. You want a path that goes like this:
======-------=======
Where the = is one track shape, and --- is another track shape.
So, your first InputSpline Path should cover the first part of the track, the second one covers the different shaped part, and the third part covers the whole track (to do the last part).
Be sure to input the ranges to reflect that on the paths. So first Path goes say, 0 to 2, then second one is 2 to 3, then the last one is 0 to 4.

Now you want to have each of those path linked into a shape extrusion. The first and last input path are linked to the first shape extrusion, and the thinner part to a different one.
All shape extrusions have their own set of Volume Mesh and Volume Caps connected. And all Volume Mesh and Volume Caps are connected to the same Create Mesh.
It looks like this: https://i.imgur.com/2dROUW3.png

3) Ensure that you are now generating a mesh that is visible on screen.
Ensure that the result you get matches the example above, the =======---------======= shaped road.

4) Save the scene.

5) Now try clicking play. Curvy should spit out errors and discard your ranges.
Also try changing to a different scene, and coming back to this one to see the same result.

That's what I did.
Reply


Messages In This Thread
Curvy discards Input Spline Range - by VoltDriver - 11-22-2023, 04:26 PM
RE: Curvy discards Input Spline Range - by _Aka_ - 11-22-2023, 11:34 PM
RE: Curvy discards Input Spline Range - by VoltDriver - 11-27-2023, 09:12 PM
RE: Curvy discards Input Spline Range - by _Aka_ - 11-28-2023, 07:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1 05-14-2024, 04:52 PM
Last Post: _Aka_
  Rasterized Path Range issue proton 7 26 04-30-2024, 11:17 AM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 12 04-03-2024, 03:16 PM
Last Post: _Aka_

Forum Jump: