ArBuZ Posted May 2, 2010 Posted May 2, 2010 Hi everybody! As it sad in the topic I can't make it to work. I even tried LE solder. Here is the code I use. Maybe someone have made it to work properly: Model mainModel mainModel.Load("abstract::soldier.gmf"); mainModel.LoadAnimation("abstract::anim_soldier_idle.gmf"); float frame=0; while(1) { frame+=ANIM_SPEED*Engine::GetSpeed(); if (frame>mainModel.GetAnimationLength(1)) frame=0; mainModel.Animate(frame,1.0,1,RECURSIVE); } If anybody know what is the problem, please tell me. Thanks in advance. Quote Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64 3ds max / photoshop CS3 / C++ http://www.arbuznikov.com
paramecij Posted May 2, 2010 Posted May 2, 2010 try to use LoadAnimation() on every child of the model ... i think i had the same problem Quote
ArBuZ Posted May 2, 2010 Author Posted May 2, 2010 try to use LoadAnimation() on every child of the model ... i think i had the same problem Damn, it works! Thank you very much man! Ive spent a few hours trying to make it work. I guess its a bug. Need to make bug report. Quote Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64 3ds max / photoshop CS3 / C++ http://www.arbuznikov.com
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.