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/generator/modules/shapeextrusion#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/generator/modules/shapeextrusion#scale

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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Method of scattering objects along spline joebain 1 3 11-26-2024, 03:20 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 5 13 10-29-2024, 10:19 AM
Last Post: _Aka_
  Nested Spline Volume Spot Instantiation merobbins5 3 7 07-26-2024, 09:58 AM
Last Post: _Aka_
  Left-right movement, and spline follow shihaya 3 10 07-12-2024, 12:50 PM
Last Post: _Aka_

Forum Jump: