So i am trying to connect Spline1 last point to Spline2 first point.
What i tried is
The problem is it gets the control point in n-2 which i understand it's the start of the LastSegment.
This is what i see when playing:
![[Image: q6sh8nf.png]](https://i.imgur.com/q6sh8nf.png)
If that is so, then how am i supposed to connect spline1 to spline2?
What i tried is
Code:
class ConnectionCreator : MonoBehaviour
{
public CurvySpline spline1;
public CurvySpline spline2;
private void Start()
{
CurvyConnection curvyConnection = CurvyConnection.Create(spline1.LastSegment, spline2.FirstSegment);
}
}
The problem is it gets the control point in n-2 which i understand it's the start of the LastSegment.
This is what i see when playing:
![[Image: q6sh8nf.png]](https://i.imgur.com/q6sh8nf.png)
If that is so, then how am i supposed to connect spline1 to spline2?