why did u choose the position values for the light in the script? More importantly what is the importance of the position of the light relative to the cube? ( fer example will the cube be a look at "aim" object or a position constraint for the light? ) Without knowing it's next to impossible to suggest a strategy for…
I'm fairly new to MEL so please bare with me. I'm trying to create a script that will create a polyCube with a spotLight after pressing a button, but each time you press the button in the menu it would create another copy of the two, but right beside it and not on top of the original. Basically creating a loop of the cube…