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 Component derived from c++ actor cannot have it's material change in BP editor

Hi there, I've added a UStaticMeshComponent to an actor via c++ in this fashion;

 Mesh = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("Mesh"));
 RootComponent = Mesh;

And when I make a Blueprint that derives from that c++ actor, the static mesh component shows up and is editable. However, after setting a Static Mesh to be used in that component I do no get the immediate option to set it's material like you would if you were to add the component through blueprints itself. Instead, this is what I see.

alt text

Is there something I am doing wrong here? Any help would be greatly appreciated.

Product Version: UE 4.13
Tags:
capture.png (21.9 kB)
more ▼

asked Sep 30 '16 at 08:15 PM in Blueprint Scripting

avatar image

PocketNerd
6 2 2

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

1 answer: sort voted first

I have the same problem. I can see material settings here: Rendering -> Override Materials. So, it work's for me. :) alt text

ue_problem1.png (82.8 kB)
more ▼

answered Mar 14 '17 at 10:15 PM

avatar image

Teklarit
11 1 3

(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