Jump to content
Hash, Inc. Forums

Automated stepsystem with expressions


Willi

Recommended Posts

  • Hash Fellow

Something like this:

 

-place a null where a foot has been planted

-measure the distance a footplant has moved relative to the body as the body leaves it behind

-test if it has reached a certain limit

-at, say 90% of that limit, start moving the foot forward to it's original position relative to the body

-at 100% finish moving the foot forward

-reset the null to the new footplant location

-back to step 2

Link to comment
Share on other sites

Willi,

 

Take a look at the exerpt below from this thread: http://www.hash.com/forums/index.php?showtopic=9975&hl=

It doesn't use expressions, but may be of some help. Look at the project file and read the tips below.

 

"I've been playing with TempleTiger's file and came up with this. It's not meant to look like a normal walk cycle yet. It just demonstrates several great features. Here are a few things to note:

 

http://www.mstrohbehn.lunarpages.com/AM_Pr...wingSurface.prj

 

1. No matter where the body is moved, the leg fall will hit the surface correctly and not go below the surface level.

 

2. The leg "walk cycle" can be controlled via a foot control constrained to a path and the "ease" value on a path constraint (in this case the foot path spline is controlled by the "FootPathRotator" bone).

 

3. In addition, the "FootPathRotator" bone (and therefore, the path) can be rotated to allow the critter to "walk" in any direction.

 

4. For variety in the leg's movement, the foot path spline could be animated via muscle keyframes to allow, for example, a higher leg lift or a longer stride at cerain times.

 

Scrub it slowly forward and backward in shaded, wireframe mode while looking at the "ease curves" of the Null's "constrain to path" constraint to see what I mean about point #3 (above)."

 

Mark

Link to comment
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...