Mattrne
10-30-2003, 03:15 PM
AAAAAAAAAAAAAARRRRRRRRRRRGGGGGGGGGGHHHHHHHHHHHH! I 'm going out of my tiny little mind!
I've got 70 characters (so far) built for the game I'm working on at the moment these use one of three generic skeletons (small Medium or Large). We have just found out that all of these skeletons need their forearms lengthening to a greater or lesser extent.
I've written a tool to automate the lengthening process, by firstly scaling the relevant joints to the correct length, then duplicating the characters bodymesh. I then reset the skeletons scales back to 1 (the joints have to have scales of 1). I then duplicate the skeleton, translate the end joints on the arms to lengthen the arms to the correct length, then bind the duplicated mesh to this new skeleton and copy the weights from the old mesh to the new one.
This all works fine, but I've just realised that quite a few characters have ancillary pieces such as watches etc skinned to the skeleton whilst being seperate meshes. What I need to do therefore is find some way of picking all of the geometry which is skinned to our base skeleton on the chracter. However I'm screwed if I can work out how - heres where you guys come in - any ideas? Any help would save my ass!
I've got 70 characters (so far) built for the game I'm working on at the moment these use one of three generic skeletons (small Medium or Large). We have just found out that all of these skeletons need their forearms lengthening to a greater or lesser extent.
I've written a tool to automate the lengthening process, by firstly scaling the relevant joints to the correct length, then duplicating the characters bodymesh. I then reset the skeletons scales back to 1 (the joints have to have scales of 1). I then duplicate the skeleton, translate the end joints on the arms to lengthen the arms to the correct length, then bind the duplicated mesh to this new skeleton and copy the weights from the old mesh to the new one.
This all works fine, but I've just realised that quite a few characters have ancillary pieces such as watches etc skinned to the skeleton whilst being seperate meshes. What I need to do therefore is find some way of picking all of the geometry which is skinned to our base skeleton on the chracter. However I'm screwed if I can work out how - heres where you guys come in - any ideas? Any help would save my ass!
