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"

Severe spline mesh bug (Demo project included)

Simple to reproduce, just add a couple of spline meshes along spline - they'll behave like that: alt text

However, when using a mesh that is a cylinder without any loop cuts, it works properly:

alt text

Also, changing the mesh count to lower value (but too low to be smooth looking) causes the bug to disappear. I've included all of this in the simple demo repro project:


I'd be great if we could even use some workaround for this bug for now... But can't find any. Thank you!

Product Version: UE 4.15
bez tytułu.png (445.1 kB)
bez tytułu2.png (446.7 kB)
more ▼

asked Apr 19 '17 at 03:56 AM in Blueprint Scripting

avatar image

2k 154 153 206

avatar image TJ V ♦♦ STAFF Apr 25 '17 at 06:13 PM

Hi Slavq,

I don't believe what you are seeing is a bug. For every mesh you add for 'resolution' you would need to interpolate another spline point inbetween the other points.

I'm going to move this over to the blueprint section for now and one of the other techs has setup something similar to this in the past. He is going to take a look as soon as he has time.

Also, in your demo project; both the 'with' and 'without cuts' meshes had the segmenting error for me. Did you just swap the mesh or did you also change a value somewhere?

avatar image Slavq Apr 25 '17 at 06:27 PM

Thank you. Yes, just swapping the mesh, that's why I thought that it's a bug. Here is a gif that demonstrates this:

alt text

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

2 answers: sort voted first

Hey Slavq,

I took a look at your project and after investigating I don't think you are doing anything wrong. The math is correct and the workflow seems correct. What is happening is the vertices between the start and end point of the mesh aren't scaling in a way that is proportionate to the end points. That creates bad overlap and a stair step effect.

This may be a limitation of the "set start and end" node not allowing it to effect verts properly between the start and end points. The reason your other mesh doesn't have this issue is because there aren't any verts that need to be properly interpolated.

I apologize for the confusion and we may need to investigate a little bit further to determine if this is a legitimate bug.



more ▼

answered Apr 25 '17 at 09:24 PM

avatar image Ed Burgess ♦♦ STAFF Apr 26 '17 at 11:27 PM

Just updating this has been determined to be a bug. You may track it here: https://issues.unrealengine.com/issue/UE-44425

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

If you normalize the tangents, the problem goes away.

Like this: alt text

So I guess it has something to do with the tangents. Anyway, I'd prefer this bug to be fixed, but this helps as a workaround.

more ▼

answered Sep 19 '18 at 04:54 AM

avatar image

87 4 6 11

(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