Hi there,
I place a mesh which I use to build my “track”. As I build the track a separat spline gets created with it. (No, I dont want to use spline mesh component)
Example picture:
Now If I want to remove one piece of the mesh, I need to split the spline accordingly.
I can calculate the new start/end locations for the new spline parts but have no idea how to tackle the “get all spline points to this location where Im gonna remove the mesh” so I can copy all of those to create the new spline with it.
Problems I face: there might be no spline points near my remove location. I can also not iterate through the spline points locations and compare it with my remove location. Or at least I dont know how since the track could build up down left right until this point…
Any suggestions?