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 helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to generate gameobject on the control point Yang Yi 1 6 Yesterday, 10:14 PM
Last Post: _Aka_
  API - How to get an existing component? RickPalo 2 9 11-22-2024, 03:54 PM
Last Post: RickPalo
  Scene 51: Dynamic track between two points wallflower6 3 8 08-19-2024, 08:18 AM
Last Post: _Aka_
  Connections doesn't work in split scenes nehvaleem 4 10 05-29-2024, 07:31 AM
Last Post: _Aka_

Forum Jump: