[Tutorial] advanced ik foot placement for 4.13 [tutorial]

Hello.

here you can download a template for advanced ik foot placement system.

first I must say that it is all my own method. I did not copy any code from anywhere which is obvious from my graphs.

I did not comment anything but I tried to organize graphs to help you guys understand it.

I am open to answer any question about it.

you can see what is going on with this template from these GIFs

I am trying to make it better and I will update it ASAP.

download this template from [here][5]

[5]:

Hi saeedc,

Thank you for taking the time to put this together. We would like to reserve the AnswerHub as a place to ask, and answer, questions. Our wiki would be a better place to post this tutorial. We always welcome community content being added to the wiki, and this would be a great addition there.

Thank you!! Your example works really fine!

your welcome :))

Hi.

I don’t have any idea for this now.

but

you can use a different animation(shorter walks) when moving up or down on a surface to make it look better.

Man I tried it and it’s awesome. But I don’t like how the mesh moves down when going up on a surface, rather than the knees only. Can you help me with this?

Thanks, your awesome!

Hi. This is very good education example. On some surfaces it creating errors - character shake, but I can understand why. Do you have this updated? Thx for sharing anyway!

Hi. I’ve not had a to update it yet and i do not think i will have :))

but about character shaking. i think i must have used a soft interpolation to set effector location on each frame. you can add it yourself

Maybe I will play more with your template, but now I’m deciding to use IK or not. Some pros and cons.
I watched other results and with IK I never found a satisfactory result for production quality, for example - walking on stairs but not only. Maybe I’m wrong. In your template I disabled IK when walking fast on stairs and result is not bad, but still far from what I need.

It not mean your IK template is bad - is very good done, just I know IK limitations or how much work is need to make it perfect. In my case, this is too much work I think and I will use it for weapon handling only and like this.

Thank’s again for sharing.

Hello,

I am using your system and so far it’s great! The only issue i’m having is my character’s thighs never change, leaving only the feet using IK. I’m wondering if you have any advice for this when migrating to another character?

I’ll attach a picture. As you can see only the feet are working. I migrated over everything in the BP AnimBP and skeleton.

Hi.

Check my character skeleton to see if it has any socket added to feet bones.

Make sure you have added the same sockets as mine with the same name.

After you compiled bps see if there is any error related to a bone or socket name.

Yes I have the foot_lSocket and foot_rSocket on my characters skeleton. I’m also not getting any errors. Any other ideas?

I can give you more info 10 hours later :slight_smile:

Remind me if i forget

I hope I’m not bugging you, just reminding you.

I’d really appreciate your help on this. I’ve been looking at it all over again and everything looks just as it is in your project. I can’t seem to figure out why my character won’t adjust his thighs. Maybe I’m missing something other than the Skeleton, BP and AnimBP?

Hi.

Sorry for delay

I converted my project to 4.18 and also migrated BPs. every thing worked as expected.

I am sure copy pasting BPs on other characters also must work as long as you maintain some requirements like sockets.

BTW I think you need to compare my project with your project to figure out differences to fix.

if you show me how your system is wrong more detailed ( a video must be fine) I may be able to help you more

I can confirm, working in 4.18 without issues.

OK I will try and get a short video up tomorrow night showing what happens and the BP.

OK I hope with this video you can help me see what I am missing.

Hi.
sorry for delay. I watched the video you sent

first take a look at your character construction script and make sure that is like mine.

then set your character capsule’s height based on my character capsule’s height mine is 95.

then go to animation event graph and from variable panel find the Alpha and set its default to 1

Good luck :))