I've got an object that I've broken up to do particle flow stuff on, but to do what I want I need the pivot point of each object alligned to it's face, and following the surface.
I can reset to object and move them around, but it doesnt seem to do anything for the rotation values, which all go back to world which is no help whatsoever. (see attached image)
Now to the problem - i'm assuming I can fix this with a script, because when I put an edit normals modifier on each object it shows it properly, so the information is there in max. Now how do I go about getting that normal information from each object (each object is 1 poly) and applying it to the pivot point location, so it faces the right way and follows my objects? just 'have the z axis follow the normal direction' would work.
I've been digging in maxscript all morning and i cant find out how to take the normal information out of objects.
In the attached image all those faces are seperate objects, and I want the pivots to be alligned to the face.
If a particular section has the y or x in the wrong direction it's no big deal, I can sort them out easily - I just need them to follow the allignment of faces.
I will be doing it on a much bigger object that has been split up and detached, modeling it from scrach would be one of the most time consuming things ever.
People do this all the time, or am I completley on the wrong track for how to do it?
Thanks in advance
x
I can reset to object and move them around, but it doesnt seem to do anything for the rotation values, which all go back to world which is no help whatsoever. (see attached image)
Now to the problem - i'm assuming I can fix this with a script, because when I put an edit normals modifier on each object it shows it properly, so the information is there in max. Now how do I go about getting that normal information from each object (each object is 1 poly) and applying it to the pivot point location, so it faces the right way and follows my objects? just 'have the z axis follow the normal direction' would work.
I've been digging in maxscript all morning and i cant find out how to take the normal information out of objects.
In the attached image all those faces are seperate objects, and I want the pivots to be alligned to the face.
If a particular section has the y or x in the wrong direction it's no big deal, I can sort them out easily - I just need them to follow the allignment of faces.
I will be doing it on a much bigger object that has been split up and detached, modeling it from scrach would be one of the most time consuming things ever.
People do this all the time, or am I completley on the wrong track for how to do it?
Thanks in advance
x
Comment