![]() Now we want to animate the follow path contraint OFFSET but how we know the right offset value for each frame?. Give your root bone a follow path constraint (Target is your spline).Make your walkcycle to an action so that you can reapeat it easy. ![]() You need the lenght of the path, this is easy with animation node addon (get spline lenght node).You need the lenght for one food step, its the y value of the IK food controler from max to min.Make sure your walkcycle in place is without acceleration, it means linear interpolation in the graph editor.I guess you made a walkcycle in place already and you want to move the root bone along a path without food sliding. You could even keyframe several stages of the sep rather than just three - BUT - you must keyframe at least three to get the foot off the ground in mid step. ![]() So to stop this you also keyframe the IK target halfway along the step when it has raised the foot off the ground and bent the leg slightly (you should also turn the foot down a little so the toe is nearer the ground as that is the way 99.9% of humans walk - the rest fall over all the time). If you only keyframe the start and end point the foot slides along the ground. So for your walk cycle - you move the IK target up and forwards, then forwards and down to mimic a step. Some people (me included at times) also add the foot to the IK chain, so to me it is the “Foot IK” whether it is really the foot deform bone or just an IK target for the leg. Exactly: this is the Ik target specified in the overall leg IK constraint, sometimes that IS the foot, sometimes it is not - but it is still the IK target that controls the leg.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |