Archived

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

GameTutorials.com MD2 Animation problem

This topic is 5436 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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