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"

Static Mesh Components don't appear in the Blueprint

Hi,

When I add a static mesh using the "Add Static Mesh Component" node in a for loop, the mesh appears in the world, but not in the components tab. I tried attaching them to the Blueprint (actor), but that still doesn't make them appear anywhere else than the world view.

This is what the construction script in the Blueprint looks like: The Blueprint script to add meshes

As you can see the yellow box is the outlined cube. There are multiple cubes in the world that are spawned by this Blueprint, but they don't appear in the components tab or world hierarchy. The meshes are the red cubes which appear in the world, but not in the components tab or world hierarchy

Product Version: UE 4.15
Tags:
more ▼

asked Jun 12 '17 at 08:28 AM in Blueprint Scripting

avatar image

JasperDre
3 1 2 4

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

1 answer: sort voted first

You should access dynamically added components with appropriate variables.

If you want to edit them in editor - add it manually, not by code.

more ▼

answered Jun 12 '17 at 08:32 AM

avatar image

redbox
4.2k 80 17 103

avatar image JasperDre Jun 12 '17 at 09:26 AM

I ended up making a Blueprint out of the mesh and spawning them in the Event Graph based on the same method.

(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