Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

vrihai

Animation without Inverse Kinematics

This topic is 5672 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Alright. What I want to do is just move my character''s hand to a doorknob or lever, or just any EXACT position. (Like they do in Project Eden) I can find out the final world space position of the joint, but Since I use only rotation keys for animations, I can''t figure how to do this. I don''t want to dive into something so complex and expensive as IK.

Share this post


Link to post
Share on other sites
Advertisement
quote:

Alright. What I want to do is just move my character''s hand to a doorknob or lever, or just any EXACT position.



That _is_ IK., there''s no avoiding it.

quote:

I don''t want to dive into something so complex and expensive as IK.



IK isn''t that expensive, especially since you''re only using 2 bones (upper arm and forearm). Googleing will give you plenty of info.

Share this post


Link to post
Share on other sites
Depending on the number of joints and their configuration, it is probably easy to find a closed form solution for your IK. That''s not too complex. Just write the equations linking the position to the joint parameters (x,y,z=f(q1,q2,...) ) and try to express it q1, q2,...=g(x,y,z).
If you have more than 3 joints or if some joints are in the same plane, you might have a redundant system or a system where you have to handle orientation too. Then you still can use the "Jacobian" (to linearize the equations around the current configuration) and maybe use something like "pseudo inverse", "Damped least square" or "Jacobian transpose". Have a look with google about that.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!