- Home /
One fraction of game object one material, other fraction different material?
ok, so i have one game object, when my 2d character walks on the platform, i need the part of the game object the character walked on to chage to a different color. I have to do this with only 1 game object, and not multiple game objects.
is there any special functions or plugins to do this?
Answer by Cherno · Aug 21, 2014 at 11:05 AM
Model the object with two material IDs, and then if the character steps on it, change the relevant material to another one of a different color.
Your answer
Follow this Question
Related Questions
Best Way - Animation - Multiple GameObjects. 0 Answers
Collision On Specific Object= Destroy not working. 2 Answers
How to form copies of yourself that follow you when you walk? (2D Platformer) 2 Answers
Building game like prison architect. How to manage sprites? 0 Answers
Assigning current color to a variable for fade out (C#) 0 Answers