Jump to content

Recommended Posts

Posted

model_path = "G:/342/fff/Models/Characters/Crawler/crawler.mdl";

model = Model::Load(model_path);

model->SetAnimationName(1, "Run");

std::cout << "Animation: " << model->GetAnimationName(1);

anim = 42;

std::cout << "*******animname***: " << model->animationname[1];

model->SetAnimationFrame(Time::GetCurrent() / 100.0, 1, 1, 1);

model->Update();

 

Here's a problem: animation draws incorrectly, somebody knows how to fix it?

 

12940654_m.png

Posted

I didn't even recognize him. Can you paste a small runnable example? I don't see anything wrong there, although you do not need to call model->Update().

Let's build cool stuff and have fun. :)

Posted

Here how it looks before animation starts, and after it becomes like I posted upper. I think somthing wrong with context sync or blend mode, but none of it helps. Runnable example means post here .exe?

12947213.png

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...