Also check that the Mesh Renderer has the same number of materials as the mesh. If the model prefab has been broken the materials array won't sync up to what has been last imported. If your model has 3 different materials assigned in Maya, the materials array should have 3 material slots.
Here's a script I wrote that'll do what you're asking. It only works in Editable poly mode (never got around to adding Edit_Poly modifier support), but maybe it'll work for you're purposes: --ASSUMED: in editable poly mode, with one or more borders selected. Edit_Poly modifiers not supported.allEdjs =…
because $ is the same as selection as array. If you have multiple objects selected, $ returns an array of all those objects. Hence you can't access the name with $.name. Also there is a scope issue, as you define folderpath under "on btn_browse pressed" folderpath is local variable, so it is undefined under on btn_export…
Hi guys There's a piece of code i'm not sure how to write. Here's a small example of what i'm trying to achieve: I have two objects. They are parent constraint to each other. I'd like to write a piece of melscript to GET the name of the Parent object and load it into a Variable, if I have the child object selected. I'm…
Here is a usefull script for you to get started which will output your current Object selection in Max into a As3 array. outp= "var array:Array=[";--create a variable container to hold a stringfor i=1 to selection.count do(--for i loop, starts in max always at 1, all arrays are 1+ based local obj = selection[i];--create a…
Well this is kind of wrong, and we know roughly how long they've been drifting. Halo 3's legendary ending (or you could just watch all the credits) suggested that they came out of the portal drifting near the planet their about to fall / be dragged into. That planet also needs to be within the Halo array's range because it…