Findchild() help

Blitz3D Forums/Blitz3D Programming/Findchild() help

slenkar(Posted 2005) [#1]
I have 5 individual meshes that I saved from Wings3D into one .3ds file, there is also animation so I prefer to use the b3d format,
So I apply the animation in characterFX and save as B3D,
then all the meshes (or groups) in the file are named ROOT

So I load it into Ultimate unwrap3D and rename the groups(left arm,right arm,left leg etc.)
and save as a b3d but when I re-open the file there is only one group(mesh) called ROOT.

When I use Findchild() to find "ROOT" it doesnt work which is worrying,but it does work when I use the command to find bones.

So can anyone help me to use findchild with the meshes in a file? (and name them right-arm,left-arm etc.)

OR preferably point me to a free application that loads and saves B3D files and preserves the group names



Shambler(Posted 2005) [#2]
2 things I can think of,

Are you using LoadAnimMesh?

I don't use Ultimate Unwrap but is there a 'preserve bone heirarchy' option when you export?


Beaker(Posted 2005) [#3]
You can use this to identify exactly what is in your model (and rename if required):
http://www.blitzbasic.com/codearcs/codearcs.php?code=796


jfk EO-11110(Posted 2005) [#4]
did you try this:
http://www.blitzbasic.com/codearcs/codearcs.php?code=385


slenkar(Posted 2005) [#5]
yes I am using loadAnimMesh()

OK this is weird,
If I rename the meshes in UU3D and export (as multiple meshes) the animation is deleted,and the models wont show up in blitz at all.
But when I try JFK's program the body parts show up as children.

But if I export from UU3d and export as a single mesh the bones show up as children but the body parts do not.

When i try Beakers program on the mesh exported from characterFX I get all the bones and only one mesh called ROOT(but there are 5 meshes called ROOT)