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.