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"

Procedural mesh generating collision incorrectly

I have made a blueprint that generates a room with a ceiling mesh, a floor mesh, and four wall meshes. The meshes can be adjusted at runtime to change the dimensions of the room. However, when I run the script, only the "north" wall gets collision. All walls are generated by the same CreateWall function and have the same settings apart from the vertex positions. I am fairly new to procedural meshes and I am out of ideas for why this happens. Any advice?

The "Build Room" Function, incoming Bool is whether to build a mesh from scratch or just update the existing mesh:

alt text

The "Create Wall" function (as clean as it gets right now):

alt text

I can also upload the full blueprint if neccessary.

Product Version: UE 4.20
more ▼

asked Sep 14 '18 at 01:34 PM in Blueprint Scripting

avatar image

1 1

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

1 answer: sort voted first

Hi, I don't know what you did for creating the room but I assume you are changing vertex positions of some meshes. If this is the case I think you should have problem with collisions because collisions are not meant to change in runtime and they are pre-built. I suggest if you can't fix this use simple static meshes and scaling them to fit your room dimensions, for example a box for your wall and scale it are reposition it.

more ▼

answered Sep 14 '18 at 02:36 PM

avatar image

42 1 2 8

(comments are locked)
10|2000 characters needed characters left
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