Automatic hip position with full inverse kinematic

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
keepfungus
Posts: 50
Joined: Fri Jun 10, 2011 10:15 am
Location: Rome, Italy
Contact:

Automatic hip position with full inverse kinematic

Post by keepfungus »

Hi everybody!
While animating the walk cycle of a bipedal character I'd like to have the hip position automatically calculated halfway from the feet (both in the x and y axis), so that I just have to move the feet. Just like the guy in the following video does. How do I do it?
Thanks.

https://www.youtube.com/watch?v=lfdx5Xq_IvI
vimeo.com/matteoloi
instagram.com/keepfungus/
justeleven.it
twitter.com/justeleven
User avatar
Greenlaw
Posts: 9262
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Automatic hip position with full inverse kinematic

Post by Greenlaw »

This isn't a full solution but maybe it will give you some ideas.

Off the top of my head, if you parent a two-bone chain with plenty of stretchiness to one ankle, and have the second stretchy bone target the other ankle, then the base of that second bone should be the center point between the two feet.

Unfortunately, I'm not sure how you would get the hip bone to track the second bone's X position though. I'm almost certain Position Control won't do it.

The above idea probably isn't very useful but just putting it out there. Hopefully somebody else will have a full solution to share.
User avatar
Greenlaw
Posts: 9262
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Automatic hip position with full inverse kinematic

Post by Greenlaw »

Thanks Wes. I thought I had seen something like that in the past but couldn't find the thread. It will be a good refresher for me. :)
User avatar
keepfungus
Posts: 50
Joined: Fri Jun 10, 2011 10:15 am
Location: Rome, Italy
Contact:

Re: Automatic hip position with full inverse kinematic

Post by keepfungus »

Thanks a lot guys! You solved the problem brilliantly.
Read you soon.

KF
vimeo.com/matteoloi
instagram.com/keepfungus/
justeleven.it
twitter.com/justeleven
Post Reply