Jump to content

Switching animations for character ?


khotan
 Share

Recommended Posts

  • khotan changed the title to Switching animations for character ?

Well, I need to all control my character for several animations as walking, running, jumping, climbing etc... . How to control and to rotate this characer at 90° to left or right? How to make a transition between walking to running and then back to walking by changing in C++ with interpolation if possible? What about the control for vertices from mesh and to make a expression on face of character ? I mean it all are all control behavior from character and making coding and controlled by C++ ?

This link is what I am looking for as inspiration :

Can you help me with example or make a pseudo-code to try and to understand it ?

Thanks.

Link to comment
Share on other sites

The Entity::PlayAnimation() method will take care of most of that. It automatically handles transitions between animations:
https://leadwerks.com/learn

You can still rotate the whole entity while it is animating, the the animations will be played relative to the top-level entity in the model.

Vertex morphing animations are not supported, mostly because nobody has separate models for facial expressions. But you can manually move the vertices around if you do have that ready to use.

My job is to make tools you love, with the features you want, and performance you can't live without.

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...