How to create a spline during runtime

Hi Everyone I Want to make conveyer belt system that the player can build and the only way to do it is splines. I do have to two points the player wants to build from and have it create a two point spline but it makes this third point at 0,0,0 that I cant get to go away.

I know my system needs a full rewrite But i know nothing about splines and want someone to explain to me how I can get this to work.

Hello, have to tried to call ClearSplinePoints() before adding your points?

No that would have not worked I turns out I suck at coding in something I have never done I solved my problem by watching this video more carefully https://www.youtube.com/watch?v=kygjxzIlWJA&ab_channel=Murnoth

2 Likes