x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Spline mesh bad twisting bug

This image shows the problem:

alt text

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?

Product Version: UE 4.11
Tags:
more ▼

asked May 16 '16 at 11:47 AM in Bug Reports

avatar image

Slavq
2k 157 153 209

avatar image AndrewHurley May 16 '16 at 02:45 PM

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

avatar image AndrewHurley May 16 '16 at 05:13 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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 :

alt text

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: alt text

more ▼

answered May 16 '16 at 04:57 PM

avatar image

Slavq
2k 157 153 209

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

https://www.unrealengine.com/marketplace/spline-twist-correct

alt text

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

more ▼

answered May 25 '18 at 07:51 PM

avatar image

RyanGadz
98 3 9 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question