I am trying to make a local 2 player game but my question is that, how can I have my second player with different materials. When I make change on 1st player in materials second players changes as well. I want to have my first player in red color and 2nd player in blue. Please let me know how can I achieve it.
Hi there!
This happens because you are changing the same material, that is used by both meshes. When you create two material instances of this material, and assign them to the characters. If they are different meshes, you can assign them seperately, if they are the same, you have to assign the material instance at runtime, best in their character blueprint under event begin play, based on the possesing player controller.
Yours,
Felix
No offense, but if you do not know how to do it you should probably look into blueprint basics. And use google. Generally it should be fairly simple to do. You put some branch after the begin play, testing which player controller is possesing the character and then assign the material to it’s skeletal mesh component.