Curve Interpolation with spline components in blueprints?

Hi all,

So I have a spline that I’m creating in a blueprint driven by some basic, albeit sloppy, math shown below. The result is shown in the other image. Because I’m dealing with such large numbers (8000) I think that the spline is trying to stretch and compensate a lot. I added a middle point between the corner ones, but it created this odd pattern. Any ideas to fix this? I have a feeling there’s a way to change the tension or some other similar parameter with blueprints.

Thanks!

80905-bp_spline_nodes.png

You can use the ‘Set Spline Point Type’ node and play around with the types. Setting only the hard-edge points as “Linear” may help with the results you’re after but I think you only need to remove the middle point on the curve and change the type for better interpolation. Note that those three points are probably too close!

After some research I’ve found that the algorithm for the curve is altered throughout UE versions. It’s close to Cubic Bezier but altered somewhat. So don’t expect the spline method to be exactly the same as Cubic used in Photoshop, Paint or AutoCAD.