Archived

This topic is now archived and is closed to further replies.

Nibbles

GameTutorials.com MD2 Animation problem

Recommended Posts

Nibbles    569
Hi, Sorry to have to post this here, but their forums are down at the moment, and this issue is driving me nuts. my problem is that if i have more than one model being animated at a time, every model other than the first one is not properly animated. The animation sequence is never fisished, and it looks like they only get about 1 or so frames before they are restarted. basically what i''ve done is:
  
CLoadMD2 LoadMD2;

t3DModel model1;
t3DModel model2;

LoadMD2.ImportMD2(&model1, "tris.md2", "model.tga");		
LoadMD2.ImportMD2(&model2, "tris.md2", "model.tga");

Md2.AnimateMD2Model(&model1);   // works fine

Md2.AnimateMD2Model(&model2);   // this and including any more that might follow do not.

  
if this sounds familiar, please let me know Thanks, Scott
------------------------------------------------------------
Email
Website

"If you try and don''t succeed, destroy all evidence that you tried."
------------------------------------------------------------

Share this post


Link to post
Share on other sites
Nibbles    569
thanks for replying, but i got it working... unfortuntely as i was making adjustment, i didn''t really notice what part fixed the problem all that i know was it was pretty trivial.

thanks anyway,
Scott


------------------------------------------------------------
Email
Website

"If you try and don''t succeed, destroy all evidence that you tried."
------------------------------------------------------------

Share this post


Link to post
Share on other sites