Hi!
I have an object and I’m doing an animation on it. (So it have an animator attached and I’m doing manual animation :/).
This object contains several object and I move these object 1 by 1.
I would like to know if it is possible to modify the material of the object that is currently moving using script?
Something like
Forall child :
if (moving) material = red
else material = grey
?
Thanks a lot!