Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Split existing segment(s) with additional control points
#1
Is there a way to insert new control points into the middle of a spline?  Or possibly auto-split an existing spline or segment into a configurable number of segments?  I have a spline that I've created to represent a train track across a terrain, but I need more control points and would prefer not to add on the end and reposition all of the existing control points.

Thanks in advance!
Reply
#2
Hi
You can use the Split tool
https://curvyeditor.com/documentation/toolbar/start?s[]=split#split
You can do so via the API too.
When adding a Control Point (CP for short) via the editor, the CP is added at the end if no CP was selected at the moment of adding the CP, otherwise it will be added after the selected CP
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
  SetRange for closed Segment tairoark 2 6 06-14-2022, 09:25 PM
Last Post: tairoark
  How to choose which model to use for each segment? itzikpel 1 5 04-21-2022, 02:03 PM
Last Post: _Aka_
  Problems compiling after pulling down project from source control obscurelyme 2 12 02-13-2022, 03:47 PM
Last Post: Marco Schultz
  Variable mesh extrusion offset per segment CrushedPixel 1 12 12-23-2021, 10:40 AM
Last Post: _Aka_

Forum Jump: