Spline mesh bad twisting bug

This image shows the problem:

I’ve tried changing default spline Up Vector, but it didn’t helped. In this example we can clearly see that the spline twists only when it’s facing near X or -X direction. Is there any workaround for this?

Hey Slavq,

If this is a custom spline mesh, you can create a way to un-twist the spline in the opposite directions based on each point.

I would also take a look at this post to see if you can find any help suggestions or solutions as well.

Let me know if you have further questions or need additional assistance.

Thanks,

Andrew Hurley

Thanks. In my case it’s procedural and generates in many different directions, depending on random seed.

The solution from the post that You have mentioned didn’t helped, but something very similar did: Instead of taking spline direction + rotating, I took spline Up Vector (‘Get Up Vector at Time’) and set it as Set Spline Up Dir when adding spline mesh component.
This fixed the twisting, but created a problem when spline is going up or down :

It’s like the roll is off, but I’ve tried to set roll manually to the spline roll at the time (or at 0), but nothing changed. It’s strange that is happens only if spline is going up or down…

Update: Another screenshot showing the problem:

It seems like you might now need to use the blend angle corrected normals for the rope material so your normals blend at the seams where they would connect.

Keep messing around with your blueprint and materials, as well as locating some other helpful solutions to see if you can get this worked out. You are on the right track and seem to have a good handle on the troubleshooting process. If you get completely stuck, let me know and I can assist you further.

Cheers,

Andrew Hurley

I know this is an old post but my plugin is specifically designed to address this issue.

It offsets a second spline so that even when the spline is subdivided you won’t get any twisting.