Abhishek
29-06-2005, 03:31 AM
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=5><FONT style="FONT-WEIGHT: bold" size=3>Hi Guys.. found this cool notes about walk cycles at http://www.patrickmcnabb.com/tutorials/AN_walk_cycle.htm ... do post if you come through more about Walks..</FONT><BR></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=5><BR></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=5>Look Ma, I'm Walkin'!!</FONT></P>
<P> </P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif">You'll use the file: stickey_tootsie_for_walk.mb</FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif">Generally I breakdown a walk cycle into 4 steps:</FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=4>Step One:<BR></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif">Sort out ONLY the feet positions and the up and down (transY) for COG.<BR>I have only shown the first 5 poses. The next 3 (frames 20, 24 and 28)<BR>are the opposites of 4, 8 and 12. Frame 32 is an EXACT copy of frame 0. </FONT></P>
<TABLE cellSpacing=5 cellPadding=5 width="100%" align=left><T>
<T>
<TR>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_00.jpg" width=377 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_04.jpg" width=377 border="0"></TD>
<TD><IMG height=216 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_08.jpg" width=376 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_12.jpg" width=377 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_16.jpg" width=377 border="0"></TD></TR>
<TR vAlign=top align=left>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Start here. Do the first contact position. Note that you can't see the feet controls which means in this frame that I have used the "roll" attribute on both feet to get them in this position. I have adjusted the transY of the COG so the legs don't lock. I usually copy this position over and use it for frame 16 then reverse the position of the feet. That way the COG is in the same spot.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Down Position. This is the LOWEST point in Y for the COG. Note that the right foot control is now rotated and the "roll" value is set to 0.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Passing Position. The COG is higher than in the Contact positions, but it will go higher still. Again, note the right foot control.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Up Position. The COG is at its highest point here. The left foot is "rolled" up so that the knee is not locked.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>The Other Contact Position. Same as the first one but the feet are reversed.</FONT></TD></TR></T></T></TABLE>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=4>Step Two:<BR></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif">Now we are going to add rotations to the COG, spine, neck and head<BR>and some side to side translation on the COG.</FONT></P>
<TABLE cellSpacing=5 cellPadding=5 width="100%" align=left><T>
<T>
<TR>
<TD><IMG height=476 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_00.jpg" width=389 border="0"></TD>
<TD><IMG height=473 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_04.jpg" width=387 border="0"></TD>
<TD><IMG height=474 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_08.jpg" width=387 border="0"></TD>
<TD><IMG height=474 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_12.jpg" width=387 border="0"></TD>
<TD><IMG height=475 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_16.jpg" width=386 border="0"></TD></TR>
<TR vAlign=top align=left>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Note the COG is twisting with the hips and reflects the fact that one leg is forward and one is back. The spine is rotated so that the shoulders are twisting opposite to the hips. Rotate the neck and head so he is looking straight ahead.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Skip this one... in terms of the spine and COG it is inbetween the contact and passing.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>The COG moves in X over left foot. If we didn't do this, Stickey would look WAY off balance. The COG is also rotated down to the right as the hips tilt when the leg is passing by. The spine is rotated to compensate for the hip tilt so the shoulders tilt in the opposite way. Tilt the neck and head so they are more or less straight up and down.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Skip this one... in terms of the spine and COG it is inbetween the contact and passing.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>The Other Contact Position. Same as the first one but opposite.</FONT></TD></TR></T></T></TABLE>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=4>Step Three:<BR></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif">Now we work on the arms. Interestingly the arm swing is at it widest<BR>on the Down Position.</FONT></P>
<TABLE cellSpacing=5 cellPadding=5 width="100%" align=left><T>
<T>
<TR>
<TD><IMG height=216 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_00.jpg" width=376 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_04.jpg" width=376 border="0"></TD>
<TD><IMG height=215 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_08.jpg" width=376 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_12.jpg" width=376 border="0"></TD>
<TD><IMG height=216 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_16.jpg" width=377 border="0"></TD></TR>
<TR vAlign=top align=left>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Skip this one for now. We'll come back to it.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Start here for the arms. They are at their widest here and are swinging in opposition (sorta) to the legs. The elbow can really only bend forward so reflect that in your arm poses. Note the the right arm is bent up at the elbow and the wrist and the left one is bent back a bit at the wrist.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Right arm is starting to drop and come back. The wrist will stay bent. The left arm is starting to come forward. Note that the wrist lags a bit behind.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>This is the arm's passing position. Arms are pretty much at Stickey's side. Note the wrists are still behind.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK in order to get this one sorted out you'll need to make frame 20 (the opposite of frame 4). This one will then be an inbetween. For frame 0 you'll need to actually make a copy of frame 4 at frame 36. Then save the arm keys on frame 32 and re-use for frame 0.</FONT></TD></TR></T></T></TABLE>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=4>Step Four:<BR></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif">Smoothing out your animation curves. This is where you will spend some time<BR>trying to fix any popping knees and making your cycle actually cycle properly.<BR>You'll need to set all your curves to a pre and post infinity cycle and<BR>set your view in the graph editor to inifinity. The you gotta make the<BR>tangents at the end of the curves match up. Wehn playing back your cycle<BR>remember to set it to NOT play the last frame since it is a duplicate<BR>of the first and it will "pop". Good luck!</FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif"><IMG height=261 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_04.jpg" width=631 border="0"></FONT></P><edited><editID>Abhishek</editID><editDate>38795.5820138889</editDate></edited>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=5><BR></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=5>Look Ma, I'm Walkin'!!</FONT></P>
<P> </P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif">You'll use the file: stickey_tootsie_for_walk.mb</FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif">Generally I breakdown a walk cycle into 4 steps:</FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=4>Step One:<BR></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif">Sort out ONLY the feet positions and the up and down (transY) for COG.<BR>I have only shown the first 5 poses. The next 3 (frames 20, 24 and 28)<BR>are the opposites of 4, 8 and 12. Frame 32 is an EXACT copy of frame 0. </FONT></P>
<TABLE cellSpacing=5 cellPadding=5 width="100%" align=left><T>
<T>
<TR>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_00.jpg" width=377 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_04.jpg" width=377 border="0"></TD>
<TD><IMG height=216 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_08.jpg" width=376 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_12.jpg" width=377 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_01_frm_16.jpg" width=377 border="0"></TD></TR>
<TR vAlign=top align=left>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Start here. Do the first contact position. Note that you can't see the feet controls which means in this frame that I have used the "roll" attribute on both feet to get them in this position. I have adjusted the transY of the COG so the legs don't lock. I usually copy this position over and use it for frame 16 then reverse the position of the feet. That way the COG is in the same spot.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Down Position. This is the LOWEST point in Y for the COG. Note that the right foot control is now rotated and the "roll" value is set to 0.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Passing Position. The COG is higher than in the Contact positions, but it will go higher still. Again, note the right foot control.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Up Position. The COG is at its highest point here. The left foot is "rolled" up so that the knee is not locked.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>The Other Contact Position. Same as the first one but the feet are reversed.</FONT></TD></TR></T></T></TABLE>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=4>Step Two:<BR></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif">Now we are going to add rotations to the COG, spine, neck and head<BR>and some side to side translation on the COG.</FONT></P>
<TABLE cellSpacing=5 cellPadding=5 width="100%" align=left><T>
<T>
<TR>
<TD><IMG height=476 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_00.jpg" width=389 border="0"></TD>
<TD><IMG height=473 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_04.jpg" width=387 border="0"></TD>
<TD><IMG height=474 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_08.jpg" width=387 border="0"></TD>
<TD><IMG height=474 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_12.jpg" width=387 border="0"></TD>
<TD><IMG height=475 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_02_frm_16.jpg" width=386 border="0"></TD></TR>
<TR vAlign=top align=left>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Note the COG is twisting with the hips and reflects the fact that one leg is forward and one is back. The spine is rotated so that the shoulders are twisting opposite to the hips. Rotate the neck and head so he is looking straight ahead.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Skip this one... in terms of the spine and COG it is inbetween the contact and passing.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>The COG moves in X over left foot. If we didn't do this, Stickey would look WAY off balance. The COG is also rotated down to the right as the hips tilt when the leg is passing by. The spine is rotated to compensate for the hip tilt so the shoulders tilt in the opposite way. Tilt the neck and head so they are more or less straight up and down.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Skip this one... in terms of the spine and COG it is inbetween the contact and passing.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>The Other Contact Position. Same as the first one but opposite.</FONT></TD></TR></T></T></TABLE>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=4>Step Three:<BR></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif">Now we work on the arms. Interestingly the arm swing is at it widest<BR>on the Down Position.</FONT></P>
<TABLE cellSpacing=5 cellPadding=5 width="100%" align=left><T>
<T>
<TR>
<TD><IMG height=216 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_00.jpg" width=376 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_04.jpg" width=376 border="0"></TD>
<TD><IMG height=215 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_08.jpg" width=376 border="0"></TD>
<TD><IMG height=217 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_12.jpg" width=376 border="0"></TD>
<TD><IMG height=216 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_03_frm_16.jpg" width=377 border="0"></TD></TR>
<TR vAlign=top align=left>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Skip this one for now. We'll come back to it.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Start here for the arms. They are at their widest here and are swinging in opposition (sorta) to the legs. The elbow can really only bend forward so reflect that in your arm poses. Note the the right arm is bent up at the elbow and the wrist and the left one is bent back a bit at the wrist.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Right arm is starting to drop and come back. The wrist will stay bent. The left arm is starting to come forward. Note that the wrist lags a bit behind.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>This is the arm's passing position. Arms are pretty much at Stickey's side. Note the wrists are still behind.</FONT></TD>
<TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK in order to get this one sorted out you'll need to make frame 20 (the opposite of frame 4). This one will then be an inbetween. For frame 0 you'll need to actually make a copy of frame 4 at frame 36. Then save the arm keys on frame 32 and re-use for frame 0.</FONT></TD></TR></T></T></TABLE>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=4>Step Four:<BR></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif">Smoothing out your animation curves. This is where you will spend some time<BR>trying to fix any popping knees and making your cycle actually cycle properly.<BR>You'll need to set all your curves to a pre and post infinity cycle and<BR>set your view in the graph editor to inifinity. The you gotta make the<BR>tangents at the end of the curves match up. Wehn playing back your cycle<BR>remember to set it to NOT play the last frame since it is a duplicate<BR>of the first and it will "pop". Good luck!</FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif"><IMG height=261 src="http://www.patrickmcnabb.com/tutorials/images/walk_grabs/walk_04.jpg" width=631 border="0"></FONT></P><edited><editID>Abhishek</editID><editDate>38795.5820138889</editDate></edited>