Change material to be the same as collided object material
I am trying to construct a blueprint that changes the material variable of an object to the same material as the object that has been collided with.
(For example; if a blue ball hits a red wall, the wall will then be blue.)
The desired functionality is as follows;
For the desired functionality, the wall needs to be able to know what material it needs to change to as the projectile collides with it, not before. The wall needs to actively seek out the material it needs to change to without having a direct reference to that material from the get-go.
I've been messing around for a while trying to get this to work an came up with a way to change the walls material, but the material that it is changed to is the generic checker default, not the material of the projectile.
As I'm relatively new to the Unreal Engine and Blueprint I'm probably missing something fairly basic, I've look through the documentation in the areas I believe to fit my issue and am at a loss. So any help would be appreciated.
asked Apr 22 '18 at 11:03 AM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here