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

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

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

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

rtfm Wink


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1 05-14-2024, 04:52 PM
Last Post: _Aka_
  Getting Distance from a World Point zorksox 3 5 04-16-2024, 07:30 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_

Forum Jump: