As part of the game play I would want to be able to mouse over a box and have it glow.
My first thought was to set the material emit property to 1.0 in python for that instance of the object but since all of the objects reference the same material all of the objects glow.
I know I could probably substitute the one box with a new object referencing a different material but remember I am constrained to using only one box object that I spawn multiple times. (the box is actually 100,000 verticies and it should glow in several different colors so this constraint reduces the games file size)
I’m curious if anyone has any thoughts or solutions.
Monster, I don’t know how to animate the material and only affect one cube (i.e. one instance) and not the others. I’d be very interested if I am missing something.
Mobius, I think this leads to a solution.
I use object.color a lot and I’m familiar with the implementation.
My sample was actually over simplified. A better example of my question would have used a different material for one of the faces and turned “use object color” on for that material only. OR - because I intend to use object.color to give some ‘in-game’ variety to the basic cube, I could separate that one face into a distinct object and use object.color dynamically only for that one plane (i.e. face) while using it statically for the other five.