Well, I don’t know if this should be in Materials or in animation, because it concerns animated materials :
Still working on my pack of self animated characters for crowd animation, I am building a system allowing to get a new set of materials for characters clothes, each time you duplicate a character and move its starting point. The goal is to get a large diversity of cloth colors without any effort for the user.
I give you a link to a blend file (made with Blender 2.62.3 rev45633).
If you move the cube in the X or Y direction, you will notice that thanks to the Drivers used by the Cube, the color of the material changes. That’s fine, but if you duplicate the cube, the Driver is broken :
In a first time, you will notice that even if each cube has its own reference (itself) for the driver, they behave the same way, regardless to their location.
One could think that it is due to the fact that they still share the same material index.
So, just make the material of the copy of the original cube a single user : The Driver is broken on the copy of the cube.
Try the opposite : Make the material of the original cube Single User : the original cube driver is broken.
Updating Dependencies in the Driver panel doesn’t solve the problem.
After making the material of the copy a single user,
R Diffuse Color
G Diffuse Color
B Diffuse Color
the Drivers panel shows :
I tried to link the material to the object instead of object data, with no more success.
Any idea to make the system work on a copy ?