View Full Version : Selecting elements in an editable poly
02-08-2006, 07:14 AM
I'm trying to come up with a method of selecting all the vertices in each element in an editable poly object one at a time to pass this up to a skin modifer so I can assign weights to a specific bone for each element. Once I have a valid bit array for an element it's easy enough to assign the wieghts. The problem is figuring out how to get each element's vertex bit array in turn. I'm completely perplexed. Is there a method to select elements? I found the polyOp.getElementsUsingFace method but I'm at a loss as to how to go about iterating though an object to get each element as a vertex bit array in turn. Any clues would be greatly appreciated.