Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline extrusion gaps
#1
Hi, I'm new to curvy.
I have a spline extrusion path that i use for roads, 
I use spline information for sideways movement relative to spline path.

I want to know how can I create gaps on the spline extrusion mesh? Like I have a spline path I need to follow, there is a generated mesh along that path, but I want that generated mesh to have gaps at specific areas so I can replace the gap with obstacles like water/hole on the road. 

Like I want a 2m gap at CP2, how can I achieve something like this?
Reply
#2
Hi

The Range parameter allows you to make an extrusion on a subsection of the path spline.
https://curvyeditor.com/documentation/ge...#reference
For N holes, you will need to have N+1 extrusion modules (basically N+1 solid sections of the path). This can be tedious to do by hand. I recommend using the API to automatically create and configure the modules. You can see that done in the Infinite Track example scene.

Maybe, depending on your specific case, you can have the desired effect by extruding the mesh on the whole path, but scaling down the extrusion in the parts that will be hidden by the obstacles.
https://curvyeditor.com/documentation/ge...sion#scale

I hope this helped
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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Controller/Spline flipping object topquarkone 2 34 10-21-2021, 09:03 PM
Last Post: _Aka_
  How to find out whether the spline is self-intersected. mydayz 1 54 10-19-2021, 12:08 PM
Last Post: _Aka_
Question Spline.length incorrect dazz777 3 147 10-07-2021, 10:23 AM
Last Post: _Aka_
  Control of an object that uses a spline ricke 5 341 09-16-2021, 10:30 AM
Last Post: _Aka_

Forum Jump: