Tools / TumbleRig / Constraints & Drivers / Nodes

Apex Foot Plant

TumbleTrove+: feet that stay planted where they land and step after the body by themselves, with gaits, ground, foot rotation and natural touches.

Access
TumbleTrove+
Node version
1.3
Package
TumbleRig
Houdini
22.0+
What you can make with it

Overview

Animate the body and the feet walk by themselves. Foot Plant drives each leg's IK control: a foot stays where it landed until its home has moved Step Distance away, then swings there in Step Time on an arc Step Height high. The homes travel and turn with the Body, the control you move, so you key or drag only the body and the legs follow: a biped, a dog, a spider.

Put it in the rig chain after the nodes that make the leg IK controls (the IK controls should hang from the root, as Apex IK Chains makes them). Pick the Body and add a row per foot under Feet with its IK control. On a skeleton with leg chains you can leave Body and Feet empty: the node takes them from the chains, and Feet Found says what it took. With Home at Rest on, a foot's home is where its IK control rests. Step Bounce bobs a child of the body as the feet land.

The walk is a simulation: each frame steps on from the one before (Update Mode under Simulation). Play forward to see it, or use Live Tick to see the feet step while you pose a parked frame in Animate.

  • Gait presets (Biped, Run, Trot, Pace, Bound, Hop, Tripod, By Group) give each foot a group from where it stands around the body, and Gait by Speed changes the gait as the body speeds up.
  • Keep Up with Speed makes the steps quicker and longer at speed, and Lead Into Turns aims the feet into a turn.
  • Lift: short steps lift less, fast ones lift higher, a choice of where the step is highest, and an optional lift curve.
  • Ground: the feet land on the geometry in the second input, and Body Follows raises, lowers and tilts the body with them.
  • Foot Rotation: the feet turn to the body's heading, tip off the toe and onto the heel, and lie flat on the ground.
  • Natural: scatter, varied timing and height, a slide on landing and idle shifts, all from a Seed, so the same seed walks the same every time.
  • Step Events: results that other nodes can read, when each foot lands and how far through its step it is.

On a shot's scene

This node also works on a shot's APEX scene: wire it between the shot's characters (TumblePipe's Import Rig, or APEX Scene Add Character nodes) and the Scene Animate. A Character menu shows up; the node changes that character and puts it back where it was, so the other characters, the animation and the order stay as they are. Put it above the Scene Animate, not below: Animate works on the Scene Animate node.

If Animate was live on the Scene Animate below while you added or changed this node, that Scene Animate can hold old data for the character. The Scene line says so; Clean Scene Animate Below removes it and keeps the keys.

New in 1.3

Every new setting starts off, so a setup from 1.2 walks exactly as before.

Parameters

Gait

How the feet take turns. Alternating, Wave, Free and None read the rows in order (one side, then the other, front to back). The presets set a group per foot from where each foot stands around the Body at rest, so the row order does not matter: Biped (left, right), Run (as Biped with a moment off the ground), Trot (the diagonal pairs), Pace (the two sides), Bound (front pair, back pair, with a moment off the ground), Hop (all together), Tripod (six legs in two triangles), By Group (the Group of each foot row). A preset that does not fit the feet walks Alternating and says so under Feet Found.

Keep Up with Speed

Faster steps, and a little longer ones, as the body speeds up, so the feet keep up instead of being dragged (Amount 0 to 1).

Lead Into Turns

The feet aim where the body is turning to (its turn rate times Lead), not only where it moves.

Gait by Speed

A list of gaits, each with the speed it holds up to (scene units a second; the last row holds above). The gait changes with a little slack each way so it does not flicker, and feet already in the air finish their step. Fill for This Walker fills the rows from the legs' length.

Group

The foot's group when Gait is By Group: feet of one group step together, groups take turns.

Short Steps Lift Less

A short step (settling, shuffling) lifts the foot less than a full one.

Faster Lifts Higher

The faster the body goes, the higher the feet lift.

Highest Point

Where in the step the foot is highest: lower lifts early and comes down long, higher reaches forward first.

Clear the Ground

With a ground, a swinging foot stays above it (over a step or a bump on the way).

Lift Curve

With Use Lift Curve, the height over the step (0 lift-off, 1 landing) instead of the arc.

Ground from Second Input

The feet land on the geometry in the second input (a ray straight down through each foot); where a ray misses, Ground Height. The ground goes into the character stream as a shape named <Name>_ground.

Ray Distance

How far above and below a foot the ground is looked for (0: from Step Height and Step Distance).

Body Follows

Moves rises and falls with the feet's height and tilts with the slope (front feet against back, left against right). Pick a child of the Body (Bobs is used when Moves is empty).

Foot Rotation

Each IK control turns: to the body's heading (Turn to Heading), toe down as it leaves (Toe Off, degrees), toe up as it lands (Heel Strike), and flat on the ground under it (Follow the Ground, with a ground).

Seed

The natural touches come from this number: the same seed walks the same every time.

Scatter

Each step lands a little off its home and turned a little in or out.

Vary Time and Height

Each step takes a little longer or shorter and lifts a little higher or lower.

Slide on Landing

A landing foot slides on a little in the way it stepped.

Idle Shifts

Standing still, now and then one foot shifts a little (Every: the seconds between, from .. to). The node then never comes to rest, so Live Tick keeps ticking.

Step Events

Results for other nodes: <foot>_landed (1 on the frame a foot lands, Hold makes it last longer) and <foot>_swing (how far through its step a foot is, 0 while planted).

Version notes

  • Foot Plant 1.3 (th::apex_foot_plant::1.3, TumbleTrove+): gait presets with a group per foot, Gait by Speed, Keep Up with Speed, Lead Into Turns, finer lift, ground from a second input with Body Follows, foot rotation, natural touches from a seed, step events
  • Scene mode: the Character menu lists every character on a time-dependent scene, the viewport follows every upstream edit
  • Scene mode audit: folder order and a moved .char kept, second-output inputs, camera default, exact stale match; test compares every value
  • TumbleRig: scene mode - Motion Effects 2.7, Temporal 1.4, Shape Temporal 1.2, Rig Noise 1.3, Foot Plant 1.2, Camera Shake 1.2, Camera Lag 1.2 work on a shot's APEX scene
  • Level 3 families: the empty settings helpers of their compiled builders no longer cook (76 builders in 45 assets)
  • Compiled-only rollout, level 3 (batch D1): 45 assets run their compiled graphs
  • Node cache before every Output of 96 assets: a reopened scene reads a node's result without cooking what is above
  • Envelope on the Temporal family: Temporal 1.2, Shape Temporal 1.1, Motion Effects 2.1, Wheel, Spring Piston, Axle, Vehicle, Camera Lag and Foot Plant 1.1
  • Display tap: switchif_viz reads has_viz_shp without an expression, in every asset
  • Temporal setup review Round 1: whole-word preset guesses (Lag no longer picks l_forearm for 'ear'), missing picks reported, control menus without helpers (94 of 734 on the Figure), no 'not in the rig' from an empty stream; Found lines on Wheel / Axle / Vehicle / Spring Piston / Motion Effects 2.0 and checked feet on Foot Plant; header checkboxes (Turn to Face, Steering, Position Too, Step Bounce); Simulation a folder on Temporal 1.1 / Shape Temporal; Tool Panel named after the node, labelled drive meters, + Track and T on Mover, no duplicate Reset History
  • Chains Phase E: Foot Plant's Feet Found line says what an empty Body and Feet take from the leg chains
  • Chains Phase E part 1: Mouth Rig head / jaw defaults, Lattice Joints From = Chain, Ragdoll @chain= rows, Foot Plant feet from leg chains