Accessing Targets & Weights
Each Target transform is associated by it's own weight. Basically
we need to able to find the various transforms attached to the
target array. We will also need to associate those nodes with
one of the attributes.
The method I use to do this relies on naming convention to 'guess'
the name of the attribute. This is by no means safe however, since
you can change the names of the attributes if you wish. Therefore,
this is possibly a bit problematic. So if anyone knows of a better
way of doing this, then please let me know.
This function then returns an array of MObjects and an array
of MStrings that contain our best guess for the associated attribute.
|