Jump to content

Interpolating between keyframes based on input


bbmario
 Share

Recommended Posts

So, i'm working on a simple character controller using Babylon. I've started replacing my ugly capsule with a character model. The model has two key frames for the running animation, something like this:

 

http://2.bp.blogspot.com/_-Q7hxXgb58k/TSW3lMhaVNI/AAAAAAAAAHw/fh8R4FWQddg/s1600/running%2Bsketch%2Bno%2Bhighlights.png

 

I'm planning to interpolate the keyframes during gameplay. You can understand my approach better if you take a look at this video explaining the techniques used in Overgrowth. How can i do this in Babylon? Are there any built-in functions for getting the keyframes and set the bones to their correct positions? What about easing functions to interpolate between the keyframes?

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...