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"

Changing material from a scene component

I am new to Unreal Engine and I am trying to change the material of a certain component of my actor. Once the handle is overlapped I wish to change the material of the Door_Test (BP_DoorTest). In the picture of the level blueprint I am only able from the for each loop to have access to the Door_Cube and not the cube1. I wish to change the material of the cube1 and not the Door_Cube itself. How can I have access to the correct component?

Product Version: UE 4.20
Tags:
level-blueprint.png (114.2 kB)
bp-doortest.png (649.2 kB)
more ▼

asked Sep 11 '18 at 06:20 PM in Blueprint Scripting

avatar image

Pixi Labo
33 3 6

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

1 answer: sort voted first

I was able to fix my problem. I simply add Actors tags and Components tags. With the blueprint I get all the actors with the matching tag and then get all the components with the specific tag.alt text

more ▼

answered Sep 11 '18 at 08:57 PM

avatar image

Pixi Labo
33 3 6

(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