# Get material from ThirdPersonCharacter in actor BP

**URL:** <https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854>\
**Category:** Rendering\
**Tags:** third-person-templat, unreal-engine, question\
**Created:** [September 6, 2017, 6:24am UTC](https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854 "2017-09-06T06:24:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9636889f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9636889f](https://forums.unrealengine.com/u/anonymous_user_9636889f)\
**Post date:** [September 6, 2017, 6:24am UTC](https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854/1 "2017-09-06T06:24:05Z")

</div>

I try to use these nodes (under actor BP) to get a material from third person character skeletal Mesh.  
But it does not working。 Could give me a hint ？

 ![212401-tpc-m.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/c/b6ce7c21b042d50fd8b57c71e4d977509e9c864f.png)

And material I want to using is this (Surrounded by red mark)

 ![212403-m-need-using.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/c/9/3c9421aec54ab00ce3e79e00e3b49eb96b0b9473.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3f4cafbb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3f4cafbb](https://forums.unrealengine.com/u/anonymous_user_3f4cafbb)\
**Post date:** [September 6, 2017, 6:48am UTC](https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854/2 "2017-09-06T06:48:28Z")

</div>

It seems you are trying to create and use a dynamic material. After creating the material you need to assign it to your mesh using `Set Material`. What you are doing is just remembering the material in your variable.

Here’s an example of how the BP should look like after `Create Dynamic Material Instance`:

 ![212402-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/8/dc82fea1f9c0124c77bc51affb3c122df799ba95.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9636889f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9636889f](https://forums.unrealengine.com/u/anonymous_user_9636889f)\
**Post date:** [September 6, 2017, 7:01am UTC](https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854/3 "2017-09-06T07:01:42Z")

</div>

Thank for you answer. But my problem is I can’t get any material from third person character skeletal Mesh. Could you tell my what kind of skeletal type should assign to a variable and how to get the material from it?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3f4cafbb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3f4cafbb](https://forums.unrealengine.com/u/anonymous_user_3f4cafbb)\
**Post date:** [September 6, 2017, 7:11am UTC](https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854/4 "2017-09-06T07:11:48Z")

</div>

In your blueprint you work with the `Capsule component` belonging to the `Third person` variable. You should reference the mesh component.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9636889f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9636889f](https://forums.unrealengine.com/u/anonymous_user_9636889f)\
**Post date:** [September 6, 2017, 8:29am UTC](https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854/5 "2017-09-06T08:29:43Z")

</div>

You mean the Skeletal Mesh Component or Mesh Component ?  
I can’t find a node called ‘Capsule component’. ☹  
Can you tell me more details about those processes (Or you can just tell me where could find this knowledge )

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3f4cafbb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3f4cafbb](https://forums.unrealengine.com/u/anonymous_user_3f4cafbb)\
**Post date:** [September 7, 2017, 1:09am UTC](https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854/6 "2017-09-07T01:09:37Z")

</div>

As I understand, you are using the `ThirdPersonCharacter` template. Here’s a simple example of applying a dynamic material:

- Create an empty project using the `ThirdPersonCharacter` template

 ![212560-untitled2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/9/609d5b6c97a6345e5ec78ecae9c09a1156f6d685.png)

- Create a new blueprint class inheriting from `Actor` and place it into the scene

 ![212571-untitled3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/1/fa11a18ca5a149f6f4aa5d6b08d16f12ed5b5497.png)

- Have the following in the new actor’s blueprint

 ![212572-untitled4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/5/3f59738c81bac2fa07005e7e42bcf69f7550788b.png)

This is what you will have when you launch the game:

 ![212573-untitled5.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/f/b2f405ed11848bc4f9f5414f3eb3d46301c1a08b.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9636889f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9636889f](https://forums.unrealengine.com/u/anonymous_user_9636889f)\
**Post date:** [September 7, 2017, 5:59am UTC](https://forums.unrealengine.com/t/get-material-from-thirdpersoncharacter-in-actor-bp/403854/7 "2017-09-07T05:59:35Z")

</div>

THANKS! Problem solved！  
Here is the final node~~

 ![212569-solved.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/5/9e5e4878539e8b5e56d287b2f07d45b1617e41fa.png)
