duplicate material/mesh in game

Hi all !

since 2.47, when i duplicate an object with shader (python) in game, the shader only work properly for the first child. If OB in material is activate, the shader works but his reference is the first duplicated object ( if the first one is exposed to light, all other will be too). :eek:

i think, the solution is to make the material and/or mesh unique for each dupicated object, and not linked.

so i need the python command to do this :spin:

thx. :slight_smile: