Skip to main content
gamedev.net
🔒 Locked

GameTutorials.com MD2 Animation problem

Started by Nibbles 1 reply 250+ views
Original Post
Nibbles
Nibbles
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."
------------------------------------------------------------
Basiror
Basiror
are md2 mesh animated models?
http://www.8ung.at/basiror/theironcross.html
Nibbles
Nibbles
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."
------------------------------------------------------------

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.