Sign in to follow this  
Followers 0
yorke

Interpolate bone rotation from actual pose to rest pose

3 posts in this topic

Hi all, is there a way to interpolate actual bone rotation to have a "smooth" transition until it returns to rest pose?

Explaining better: I can set rest pose on a bone by doing:

mesh.skeleton.bones[19].setRotationMatrix(mesh.skeleton.bones[19].getRestPose().getRotationMatrix())

but obviously there's no transition between two poses by this way. How to interpolate along N steps between the two rotation matrices?

Tnx

Share this post


Link to post
Share on other sites

Tnx for your answer deltakosh (and great work, keep on :D). Have to try to let this work on rotation matrices and not single variables in the mesh, but seems the right way

Deltakosh likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.