Game Development Community

Help with exporting submesh...

by Andrew "Anger" · in Artist Corner · 10/06/2006 (10:17 am) · 1 replies

Is there any possibility to export submeshes with exporter.. because I've created my humanoid model and I need to export it with different types of clothing, but how can I do that without merging all abjocts into one and just keeping them as submeshes...

#1
10/07/2006 (12:42 pm)
Andrew,

Multiple meshes can easily be used. In the case of your humanoid with clothing, you'd attach multiple meshes to the armature that controls the movement of your character.

However, a slightly better way to handle clothing would be to create mount points (i.e. bones on your armature called mount0, mount1, etc) on your character and attach items of clothing (i.e. other shapes) to the specified mount points at runtime.
Of course, with this alternate method you wouldn't be able to skin the added clothing as easily as it would merely act as a rigid attachment (unless of course you modified the engine). But on the plus side, you'd only have to export 1 humanoid character, which would be able to use all of the clothing you create.