Spline Mesh Scales Forever?

Hey all, so I’ve been trying to deal with a mesh that will scale properly into a point. In my research I found [this post][1], however when I went to implement it as a test, [something utterly bizarre occurred.][2] The mesh scales forever, in the opposite direction, so long as I attempt to adjust any spline points at all. The scale is also uniform. Obviously this isn’t the intended behavior.

So how can I go about fixing this? I’ve tried a clamp, but that just forces it down to be zero across the whole thing
Relevant Code

Thank you in Advance

It looks like something sets “IvyScale” somewhere. Then you get it, set incrementally, like IvyScale + IvyScale, then set again. this is why its scales infinitely.

Or maybe you get current scale, then increment it and set, get this incremented scale and set again…

Make sure that nothing is sets scale incrementally.

Hey Redbox, thanks for getting back to me so soon.

Something does set IvyScale, after the initial point gets scaled to IvyScale, its then taken, and has 1 divided by the number of spline points subtracted out of it. This is supposed to only happen on a point by point basis, however it happens every time a point is moved, uniformly across the whole spline.

IvyScale is only set and called in this section of code. if I do not set Ivyscale in the manor I stated above, the mesh instead has a repeating pattern of going Big small Big small Big small, as opposed to going from Big to small across the mesh

FIGURED IT OUT

Ivyscale had to be reset outside of the For loop. So I created a new variable called “desired scale” and plugged that into a set node for Ivy Scale. This prevents what was happening before. IvyScale would be subtracted inside the loop, but it wouldn’t reset for each creation. And if you know anything about Construct Scripts, its that they’re called everytime anything changes on the Actor.

So long and short, just set the variable outside of the loop, to prevent it from subtracting/adding forever