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"

How to change character material during idle animation?

Hello. I'm new to UE4 and to animation in general, I learn as I go on.

I want my 3D third person character to change eye color during idle animation. Everything is one mesh. I want to change the character's material back and forth during idle animation (like flickering).

Do notifies work? Do I have to do in my 3D program before hand? What's the easiest way to do it?

Thank you!

Product Version: UE 4.11
more ▼

asked Jul 21 '17 at 11:48 AM in Blueprint Scripting

avatar image

0 1 2 4

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

1 answer: sort voted first

In your Animation blueprint set an value (bool) that indicates that your char is in idle-mode. In your third Person blueprint get your Animation bluerpint (cast to) and get the bool from your idle-mode.

In "Event beginning" make a node "create dynamic material instance" from you your mesh. Your material must have a vector3 value that can Change the Color. Name the Parameter Color. In create dynamic material instance choose your material instance. Promote this to a variable. Then over Tick you can check (branch) if the idle-mode is true. If yes then set the promoted material->set paramter. You get a node in wich you type the Parameter Name you want to drive.

This is only a quick Explanation. For deeper Detail you have to look at materials.

more ▼

answered Jul 21 '17 at 03:40 PM

avatar image

318 9 13 22

(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