Posts: 6
Threads: 2
Joined: Oct 2023
Greetings!
I have a setup, using Curvy 8, where I am generating a racetrack for a game I am making. I would like to make gaps in the racetrack, to represent jumps.
I would like to know if it is possible, and if so how, to define on my single spline points where the mesh won't be generated.
Essentially this:
So visually, it looks like there is a hole in the track. This is represented by a hole in the mesh and collider.
But, the spline stays complete.
Is that possible?
Thanks!
Posts: 2,114
Threads: 92
Joined: Jun 2017
10-23-2023, 08:51 PM
(This post was last modified: 10-23-2023, 08:52 PM by _Aka_.)
Hi
Yes it is possible, in two different ways. Please check the documentations bellow, each related to one of the possible ways:
Range parameter of Shape Extrusion module:
https://curvyeditor.com/documentation/ge...sion#range
Range parameters in Input Spline Path module:
https://curvyeditor.com/documentation/ge...path#range
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.
Posts: 6
Threads: 2
Joined: Oct 2023
(10-23-2023, 08:51 PM)_Aka_ Wrote: Hi
Yes it is possible, in two different ways. Please check the documentations bellow, each related to one of the possible ways:
Range parameter of Shape Extrusion module:
https://curvyeditor.com/documentation/ge...sion#range
Range parameters in Input Spline Path module:
https://curvyeditor.com/documentation/ge...path#range
Have a nice day
Thank you so much!
Posts: 6
Threads: 2
Joined: Oct 2023
One more question. I am making those gaps in my Curvy Spline, but I want to connect a closed spline at the end. However, when I am using multiple path ranges, it does not allow me to start from say the last point of my spline and go to the first point of my spline, to connect the last 2 points in a certain way.
How can I do that?
Here is the issue in Unity. I want to connect CP 12 (last point of the spline) to CP 00 (selected in the image here).
https://imgur.com/a/VzygExY
When I try to use CP 00 as the end CP in After Thin, I get:
[Curvy] Input module After Thin: EndCP has an index (0) less or equal than StartCP (9)
Which makes sense... But then how do I connect them?
Thanks!
Posts: 2,114
Threads: 92
Joined: Jun 2017
Hi
If you want to define a range between the last and first CPs of a closed spline, you will need to use the Range settings in Shape Extrusion. The ones from Input Spline Path are not compatible with such use cases for now.
I hope this helped.
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.
Posts: 6
Threads: 2
Joined: Oct 2023
11-22-2023, 03:03 PM
(This post was last modified: 11-22-2023, 03:05 PM by VoltDriver.)
(11-22-2023, 12:56 PM)_Aka_ Wrote: Hi
If you want to define a range between the last and first CPs of a closed spline, you will need to use the Range settings in Shape Extrusion. The ones from Input Spline Path are not compatible with such use cases for now.
I hope this helped.
Have a nice day.
First, thanks for the reply! Really cool to see you giving support. It is very much appreciated.
The issue with Shape extrusion range is that it seems to not cut the range in the right orientation for me: https://imgur.com/a/svSxjFG
It goes from the left side of my track to the right side, instead of forwards and backwards.
Is there somehing I did wrong?
Thanks!
EDIT: I think I have figured it out! I need to not edit the Cross section range, but the Path Range. By setting the length of the Path in shape extrusion to less than 1, the range now works properly to do what I want.
This is solved. Thank you!
Posts: 2,114
Threads: 92
Joined: Jun 2017
You are welcome
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.