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"

Change Material by pressing E Key

Hello, I´m new to UE4 so I got a question.

Im currently trying to change a material by pressing E. alt text

This is the blueprint ive made, not sure if I did everything right, pretty simple.

Could someone help me?

Product Version: UE 4.15
Tags:
ue4_help.jpg (665.3 kB)
more ▼

asked Apr 10 '17 at 07:50 AM in Blueprint Scripting

avatar image

Sokiee
1 1 2 2

avatar image Squareys Apr 10 '17 at 08:53 AM

Your element index is different in the second SetMaterial node, is that on purpose? Otherwise... have you tried deactivating the EnableInput nodes? Maybe the problem lies there.

avatar image IGorilla Apr 10 '17 at 08:53 AM

Just to make things clear, you try to change between the 2 materials after the multicast? If so, the material index should be the same (0 for both).

avatar image Sokiee Apr 10 '17 at 09:34 AM

I just solved it by creating it in the Level blueprint instead, works like a charm now. alt text

ue4_help2.jpg (656.2 kB)
avatar image IGorilla Apr 10 '17 at 09:37 AM

Seems the problem was element index being different

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

0 answers: sort voted first
Be the first one to answer this question
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