Skip to content

Advanced Limbs

nodemode-ai edited this page Nov 25, 2026 · 1 revision

Advanced limbs

Build controls (see Controls) picks a solver for each limb. Two bone arms and legs are unchanged. Animals with a hock, tails, tentacles, necks, eyes and mechanical pistons get the solvers on this page. They are virtual like the rest of the control rig: the skeleton is not touched, and a clip plays unchanged while every control is at zero.

Three bone legs

Horses, birds, dogs and cats stand on their toes, with a hip, a stifle (knee), a hock and a foot. The three bone leg solver reaches the foot to its target and bends the hock with the stifle, the way a real leg does, instead of keeping the lower leg rigid.

Setting Meaning
Coupling how much the hock bends for each degree the stifle bends. 1.0 for horse and bird legs, about 0.75 for dog and cat legs. Both are starting values
Bias upper, Bias lower how the bend is shared between the stifle and the hock. 1 and 0 carries the hock rigidly and gives the same result as a two bone leg, hock included (a difference of 9e-7 of the leg length; it was 0.0105 before)
Hock min, Hock max (deg) the range the hock may bend through
Soft reach the share of full reach where easing starts, so a straight leg does not snap
Stretch lets the leg grow up to 1.5 times to reach a far target

Fit coupling from clip reads the active clip and sets the coupling from how the hock follows the stifle in it (clamped to 0.25 to 1.5). The result line shows the value and the average hock error in degrees. Frames where the stifle or hock sits at a limit are left out, then up to three passes drop frames more than 2 RMS off the line (never below 70 percent of the frames), because interpolation between baked keys and soft reach bend the straight relation. The error shown is over the frames kept; the note also gives the error over all frames, the saturated frames and the outlier frames. On a stressed Horse walk the kept error is 3e-5 degrees and the all frames error 3.53 degrees (11 of 31 frames left out). A Fox is not a linear coupler: its hind legs fit with 3.7 to 14 degrees, so k lands on the 0.25 floor or between 0.3 and 0.74. A refusal is kept in the limb pane. The leg always chooses the same bend for the same goal, so the knee does not flip when you drag the foot or sweep the pole control.

Spline chains

Tails, tentacles and necks with four or more joints follow a curve. Build controls adds curve points (4 for short chains, 5 or 6 for long ones) that you move like any other control. Moving the first point changes the start direction only; the chain stays attached to its parent.

Setting Meaning
Length: Fixed length every joint stays on the curve and the bone lengths do not change
Length: Stretch the chain stretches or shortens along the curve
Length: Blend between the two, set by Stretch amount
Curve Bezier, Catmull-Rom (passes through its points) or B-spline (smoother, stays near them)
Even spacing spreads the joints evenly instead of keeping the rest proportions
Twist start, Twist end, Twist easing roll along the chain from the first to the last joint, with Linear, Ease in, Ease out or Ease in and out
Drag Off (default) or FABRIK, for a tail, tentacle or neck on the spline solver only
Cone (deg) 1 to 180: how far each bone may lean from its rest direction in FABRIK. Empty is Auto: 25 for a tentacle, 20 for a neck and tail
Twist limit (deg) 0 to 180: the most each joint may roll in FABRIK. Empty is Auto, 45
Up direction None, Scene up, Vector, Object or Object rotation: what the roll along the chain keeps pointing up
Up vector the direction for Vector, default 0, 1, 0
Up object, Up object end the joint or control for Object and Object rotation; the end object blends along the chain
Up axis for Object rotation, the local axis of the object that points up (x, y, z or negative)

Beyond the end of the curve the chain continues straight. Switching a tail, tentacle or neck between Spline and FK only swaps its controls.

Drag with FABRIK

With Drag on FABRIK the last curve control becomes a tip goal: drag it and the chain follows with every bone keeping its length (exact to 1e-6 m) and the root fixed. Each bone is held inside its Cone about its rest direction, and then each joint inside its Twist limit. A goal out of reach lays the chain straight toward it, then limits it. The other curve controls are ignored while dragging (shown at rest), and a zero tip offset leaves the chain untouched. A tentacle measured 25.0005 degrees of bend at a cone of 25 and 8.0002 at a cone of 8. Drag now also applies the spline twist ramp (Twist start, Twist end and Twist easing) as a roll about each bone, taken as the increment from the previous joint, before the Twist limit is applied; a zero ramp is the old behaviour (twist 0.0). Measured on a tentacle of 8 bones with a ramp of 0 to 420 degrees and a drag of 0.3, -0.4, 0.2: a limit of 180 gives 52.5 degrees of twist at all seven joints, a limit of 45 gives 45.0 and a limit of 20 gives 20.0, so the limit engages on a chain built to twist; bone lengths stay exact to 1.4e-6. A list gives one value per joint from the root. Drag on a limb that is not a tail, tentacle or neck is refused, and the pane dims the list with a note.

Up modes

The roll frame of the old and the new curve is the projected up direction, so a zero offset and an unmoved object change nothing (0.0 measured). With Object it points toward the object, blending from Up object to Up object end along the chain. A tentacle bent by two controls left the rest X axis 0.393 out of the bend plane with None and 0.050 (3 degrees) with Vector 1, 0, 0. Object without an Up object is refused (the window sends a default object), and an unknown name says there is no joint or control by it.

Eyes

If the character has eye joints, Build controls adds an eye target. Move it and both eyes look at it, each inside its limits. Eye aim is on by default.

Setting Meaning
Eye aim on or off
Convergence 0 looks in parallel, 1 aims each eye at the target from its own position
Head follow how far the head turns toward the target before the eyes do
Target distance (m) where the target rests in front of the face
Inner, Outer, Up, Down limit (deg) defaults 20, 30, 20 and 25, the VRM ranges

An eye reaching its limit slows smoothly instead of stopping dead.

Pistons

A piston is two parts, a cylinder and a rod, that turn toward each other's pivot without twisting. In the Pistons section pick a Body joint and a Rod joint, choose a mode and press Add (the button reads Update when that pair exists). Remove deletes the piston and its control, not the joints.

Setting Meaning
Mode: Sliding rod both parts keep their size and only turn
Mode: Stretch the cylinder also scales along its axis within the stroke range
Stroke min, Stroke max (m) the shortest and longest distance between the two pivots
Max aim (deg) the most a part may swing from its mounted pose

Where the settings live

The Controls tab has a Limb solver section (pick the limb and its solver; sections that do not apply to that solver are dimmed, never hidden), an Eyes section and a Pistons section. Settings apply when you leave a field or release a slider, and each is one undo step.

Exports

  • Every limb control bakes to ordinary joint rotations and translations when you key a pose, so GLB, glTF, FBX, VRM, BVH and USD files carry no solver. Game engines see plain bones.
  • The eye limits are written to the VRM look at ranges (inner, outer, up and down) when the file has none stored. Ranges you stored on the look at yourself win.
  • Clips carry a scale channel. A Stretch piston, or any joint whose solved scale differs from rest, is keyed as scale when you key a pose, so the stretch bakes into the clip. GLB and glTF write scale animation channels, FBX writes scale curves, and the retargeter carries them; BVH has no scale. A four key piston clip read back from GLB is identical and from FBX equals the source. Baking a driven joint (Deform) still drops its scale, and the clip list counts position and rotation tracks only.

Limits

  • Snap IK on a three bone leg matches the FK pose only when the hock already follows the coupling. Spline limbs have no FK to spline snap.
  • Eyes made of morph shapes instead of joints are not driven.
  • The switches for eyes, spline chains and three bone legs in Build controls are not in the window; use the defaults, or set the limb solver afterward.

For agents

Command Does
control.build options eyes, spline_chains, digitigrade (auto, on, off)
control.limb limb and settings: solver (two_bone, leg3, spline, fk), coupling_k, bias, hock_min, hock_max, soft_reach, stretch, fit, stretch_amount, curve, even_divisions, twist_start, twist_end, twist_ease, drag (off, fabrik), cone, twist_limit (a number or one per joint), up_mode (none, scene_up, vector, object, object_rotation), up_vector, up_object, up_object_end, up_axis
control.eyes convergence, ranges (inner, outer, up, down), head_follow, distance, enabled
control.piston, control.piston_remove body, rod, mode, stroke_min, stroke_max, max_aim; remove by name
control.fit_coupling limb, clip; returns the value and the RMS hock error
control.state lists limbs with solver and settings, the eye record, pistons, and control kinds eye_target, spline_ctl and piston

pose.solve solves all of them and control.key bakes the pose into a clip.

Clone this wiki locally