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"

Set material from actor reference?

I'm trying to convert an actor reference to a static mesh actor reference, or something like that so I can change the material properties. Basically I'm using sphere overlap components to detect nearby mesh walls, then making them transparent. I can do it by turning them all invisible, as the set actor hidden in game node works with arrays of actor references. However I can't find a way of editing the material of these actors. Any ideas?

alt text

Product Version: UE 4.8
Tags:
more ▼

asked Sep 01 '15 at 11:04 AM in Blueprint Scripting

avatar image

Espii
13 5 9 13

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

1 answer: sort voted first

If somebody else also has this issue, I got this working by using Cast to StaticMeshActor > Target Static Mesh Component > Set Material. Then in Cast To StaticMeshActor, link 'Object' to your desired one.

more ▼

answered Dec 14 '18 at 08:50 AM

avatar image

TheoT
48 6 9 13

(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