POV-Ray : Newsgroups : povray.animations : ARC-2R Archer : Re: ARC-2R Archer Server Time
20 Apr 2024 07:42:19 EDT (-0400)
  Re: ARC-2R Archer  
From: Tail Kinker
Date: 20 Feb 2012 19:36:28
Message: <4f42e70c@news.povray.org>
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)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.