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"

[Bug?] Procedural Mesh Being Offset

Been working a bit with the procedural mesh component as of lately. I wanted to challenge myself a bit with some geometry programming and wanted to make a cylinder that I can modify at runtime.

While I was successful in making the cylinder and figuring out the process of automatically making the triangles took it's fair amount of time - it is behaving VERY oddly.

What blows my mind is that the 2 vertices at the center are created at actor location. The mesh is created during the construction script, if it's at world origin of 0,0,0 it looks as it should but as soon as I move it - starts getting offset.

I've spent several hours trying different methods of generating it, checked my math several times but no matter what I do - it always lead up to this kind of behavior.

It looks as intended when I simulate and view it in viewport - but as soon as I move it around in the editor - all hell breaks lose.

I'm at a complete loss and has lost most of my motivation to continue on this, procedural mesh component is an absolute pain in the rear to work with in general - and this kind of behavior is just the icing on the cake.

If any of you out there have some suggestions, please let me know.

Edit:

Short video of the issue; https://streamable.com/x9g7o

Product Version: UE 4.17
Tags:
more ▼

asked Aug 12 '17 at 03:26 PM in Blueprint Scripting

avatar image

Dealman
22 9 10 15

avatar image CaptParis000 Jul 23 '18 at 06:21 AM

I have the same problem! Did you ever fix this??

avatar image Dealman Jul 23 '18 at 01:49 PM

Aye, I did. But I don't have the project anymore and I can't remember what it was. Sorry :(

A wild guess I think some of my math was messed up.

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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