Im trying to get a smooth transition here, the first couple of points are static, since I dont want them to wiggle about the base… and the rest should be curve or linear… but this happens:
so many options, not sure what can fix it. setting tangents? how does that work? is it rotation related?
You’re doing it already, probably in the Construction Script - that’s how the Spline Mesh Components are usually added initially. If you want to update them later on, run-time - when the spline shapes changes, you’d run the same script again but rather than adding new SMCs, you’d use the SMCs added in the CS.
@Everynone I’m working with a Marketplace asset, so I cant post the screenshots of how its built. But if I’m reading this correctly, the whole thing is being updated every tick. Because as the spline is being built by the player, the splines next point is under the mouse, and as the player moves the mouse around, the spline extends to that point in real time to show the preview of where the spline will look if the player clicks the mouse button to place the next point.
It’s a pretty common thing to do. Hook up the script that updates the SMCs to Tick - note that this will get somewhat costly if the spline has many segments.
If the spline positon changes, you must update the SMCs with new transforms and tangents.
I finally figured it out after 5 hours. It was the spacing between those first points prior to the one that has the Custom Tangent you had me modify. I guess it needed a certain amount of spacing to stop wiggling the previous points.