How can i create one particle sprite to each center (pivot) of an object ? I would like to create several particle sprite to every center of pivot of several Poly object…
And for more complexity I would like to put on every particle the color of material that the object as. 
If know how to do that send me an exemple of mel script…
I have to use particle to animate Cube that that I have created ( 600 simple cube in my scene ), and apply field of gravity to those particle sprite and made collision with the ground.
Simply imagine that you have 3 box located at different positions and with different material.
Material who just have an information of color in Color and Ambiant.
I would like to create a script who can help me to create 1 particle Sprite at each center of the 3 different boxe, and that they can take the color of the different box where they are created.
nobody can help me on that question ??? :shrug:
I know that I can return the center pivot of one object by this command:
getAttr pCube1.scalePivot;
// Result: 0.5 0.5 0.5 //
But I would like to first make a melscript to return the position of the different object that I selected in the world.

