Jump to content

How do you load animations onto an entity?


Dralel
 Share

Recommended Posts

Scripting is hard, I've tried everything to create a simple idle animation for the player character. I've imported the model and animation and put it in an extracted sequence of 0 - 59 frames. It looks good in the model viewer!

 

How do I go about importing the animation manager into my character's script and start creating modes such as "idle", "walk", etc? This is really confusing...

Link to comment
Share on other sites

JUst check out the animation commands and examples in api referece.if you have the sequence number you only need one further line of code.

 

 

in c++

 

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

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...