|
|
Here's my first attempt at making the leg motion more realistic. I took
a look at how human beings walked, and decided that I'd use vrotate to
track the foot position:
vrotate (<0, 0, 1>, <-360 * Step, 0, 0>) * <0, 0, StepDistance>;
where Step runs from 0 to 1 over the course of the walking cycle, and
StepDistance is the distance the foot travels over one step. An #if was
used to change out the final vector to add a vertical element when needed.
Unfortunately, it looks pretty much no different from the original, and
has the added difficulty of making it a nightmare to make the 'Mech walk
over any terrain. I took a look at my original again, and realized that
with all the trig functions I was using, I was essentially already using
vrotate.
Posting this in swf format, because it works so well with looped video.
Post a reply to this message
Attachments:
Download 'arch.swf.dat' (805 KB)
|
|