Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ConnectTo - last control point of a Spline dosn't exists
#1
Hello,

how can i connect a spline control point to the last control point of a spline?

the target spline (spline2) has 4 control points and 3 segments, i want to connect anothers spline1 control point to the last one spline[3], but there are only 3 control points in the array [img]images/smilies/huh.gif[/img]

spline1[0].ConnectTo(spline2[3])    <-- spline2[3] dosn't exists, why not?

splines created at runtime...

thx for help, and sorry for my bad english....


 
Reply
#2
I think i solved my problem, sorry for new thread Sad

spline1.ControlPoints[0].ConnectTo(spline2.ControlPoints[3])  works....

rtfm Wink

 
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Issue Leading to Unity Freeze Pankaj09 1 226 08-24-2026, 11:28 PM
Last Post: _Aka_
  Connecting Multiple Spline Nodes Issue Ritesh Kadam 1 177 08-22-2026, 11:24 PM
Last Post: _Aka_
  Spline Spots from 2 samples. BitBlit 8 1,111 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,498 04-12-2026, 03:18 PM
Last Post: _Aka_

Forum Jump: