Download

Move Spline Point during game

Hello all,
I’d like to know if it’s possible to move a spline point during game?
I have a straight spline with two points, index 0 and 1. I’m trying to figure out how to move the point 1 along the X axis but without move the index 0’s.

Screenshot00000.jpg

The BP comes from PurePolygons’s Spline Ropes/Hoses/Cables. I used “Set Location at Spline Point” in the event graph but the node seems not to work.
I’ve been looking for 2 days on internet ressources (forums, tutos, answer hub…) but without results…

Any help?
Many thanks,

Yes you can. I think all you’re missing is updateSpline. https://docs.unrealengine.com/latest/INT/BlueprintAPI/Spline/UpdateSpline/index.html

Maybe I’m doing something wrong…
Here is my setup :

I set 2 points in the construction script, point 1 and point 2.
75718de9f0ae8ac782fb06f10d594cae9c339298.jpeg

The variable “point1” is publicly editable, so I can modify its value in the editor and the rope follows this point as expected.
But when I modify the “point1” value in the event graph, the point dosen’t move according the new coordinates.
Something miss me…
Here is the graph :
2.jpg

Any ideas?