Game Development Community

My model gets deformed when animation is added

by Will Sanders · in Artist Corner · 07/13/2002 (5:51 pm) · 1 replies

My new model works fine in the game, but I just tried to add a root animation to it (just him breathing) and after making sure I was exporting (and not exporting) everything that needed to go, the animation worked...

Unfortunately, it stretched out the model and folded it in two! The animation still shows the correct body motion and everything, it just seriously deformed my mesh! What happened?!

#1
07/14/2002 (9:25 am)
You could have culled out a node that is being used by the animation. Just go through and check to make sure that all the nodes you need are there. My bet would be on one of the spine nodes. Culling nodes out normally isn't a problem. The problem lies when you cull out a node in between two nodes. For example, you cull out the fore arm node but still have the hand and upper arm nodes.

It's pretty easy to make this mistake and even easier to overlook it. Just make sure your AlwaysExport list has all the nodes you want in the sequence and the NeverExport list has all the ones you don't. Then check the .dump file to make sure the .cfg was run during export. This is all tedious stuff but it always come down to that when you run into a problem somewhere.

Alc