Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline extrusion gaps
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?

The Range parameter allows you to make an extrusion on a subsection of the path spline.
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.

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.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Aligning objects from points on spline Lupp_ 4 65 02-20-2021, 05:14 PM
Last Post: Lupp_
  Closest Spline & control points loop in both directions nehvaleem 13 447 02-02-2021, 11:45 AM
Last Post: _Aka_
  Import/Export, Spline from code Mos Def 1 108 01-27-2021, 08:47 PM
Last Post: _Aka_
  Align to spline action and rotation Lupp_ 3 158 01-23-2021, 08:12 PM
Last Post: _Aka_

Forum Jump: