Tools / TumbleRig / Constraints & Drivers / Nodes

Apex Wheel

TumbleTrove+: a wheel that rolls by itself as its hub moves, and can turn to face the way it goes and lean as it speeds up and brakes.

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

Overview

Move the hub and the wheel rolls: no keys on the spin. The node measures how far the Hub travels along the Body's Forward axis and turns the Wheel control about its Roll Axis by that much, one full turn per 2 pi Radius. Backing up rolls it back. Measure takes the radius from the skin points that belong to the wheel, and Spin lets it turn more or less than rolling would give (1 rolls without slipping).

Put it in the rig chain after the nodes that make the controls, and pick the three controls: the Wheel that spins, the Hub that carries it without

the Hub). Found says whether the rig has them all.

For a wheel on its own (a unicycle, a scooter, a caster, a toy) turn on Turn to Face the Way It Goes: the wheel then turns to face where it is going, with a direction for backing up, a dead zone, a limit and a speed for the turn (below). Leave it off for a car's wheels, where the Axle or Vehicle node steers them. Lean With Speed Changes tips a control forward when the wheel speeds up and back when it brakes, settling like a spring.

The spin, turn and lean go on top of the controls' own Rotate, so the Wheel and Hub keep their handles in Animate and your keys add to what the node does. It 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 it roll while you drag the hub on a parked frame.

Backing up

With Turn to Face the Way It Goes on, Direction says what the wheel does when it goes backwards. Auto faces whichever end of the motion is nearer: backing up keeps the heading and the wheel rolls backwards, and in a reversing bend it turns the short way. Forward always faces the motion, so backing up turns the wheel round (a caster on a trolley). Reverse faces away from the motion, a wheel that only ever backs. Dead Zone is the speed, in wheel radii a second, below which the heading holds, so nudging the wheel or a little jitter while it stands does not swing it.

The turn is measured from the forward of what the turning control hangs from (a caster under a cart that turns keeps facing its own motion). Limit Turn keeps it between Min and Max degrees: a car's front wheel turns about 30 each way, so it steers toward where it is dragged and stops there; leave it off for a caster that swings all the way round. Max Turn Speed (45) is a soft most it turns in a frame: a caster that flips round when it is pulled back eases round over a few frames instead of snapping in one.

Leaning

Lean With Speed Changes tips a control with the wheel's forward acceleration: speeding up tips its top forward, braking tips it back, and it settles like a spring (Frequency, Damping). Pick what leans in Leans: the deck of a scooter, a rider, a unicycle's seat. Give it a pivot at the wheel's axle (a joint there, the deck under it) so it rocks about the axle. Backing up leans the other way, and in a bend the lean follows the way the hub faces. Amount is degrees per unit a second squared of acceleration.

Version notes

  • 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
  • Pose store frame 1001: no more time-dependent Show Invoked branch
  • Temporal and sim nodes default to Live Tick; recipes publish on Live Tick
  • Temporal parameter review applied: drive headings, Range Start folded, Off greys, one drive per vector
  • Temporal: write back into joints (@joint.r / .t), World Rotation source, rel=local; Motion Effects 2.0 Works On Joints