Houdini 22.0 Character KineFX

Hand

Sets up a hand with FK and IK fingers.

Since 21.0

This component sets up a hand with FK and IK fingers. You can activate IK controls for the fingers by turning on the Piano Hands parameter.

IK fingers

In the viewport, the menu provides configuration options for the hand component. See the gear menu for descriptions of the different types of interaction elements.

The image below shows an example network for setting up the hand component:

  1. Add the following tags to the hand using the Attribute Adjust Array SOP (see preparing skeletons for more information on tagging skeleton joints):

    • Hand tags for all the joints.

    • Tags for each finger segment. These tags are needed to set up IK finger controls.

    Tags for the left hand
  2. Add the mesh and skeleton to a character folder structure, and create a starting rig for the character using an APEX Pack Character SOP. See rigging a character for how to use this node. On the APEX Pack Character SOP:

    • Turn on Add FK and Bone Deform Components.

    • Remove the entries in the Rotate Group parameter.

  3. On the APEX AutoRig Component SOP, hand, set Component Source to Hand Meta.

  4. Specify the hand segments in the Driven tab, Hand Segments parameter, for example, *hand.

  5. The following FK controls are added to the fingers. The selection handle selects all the FK joints for the finger so you can easily pose the entire finger using FK:

    FK finger controls
  6. To set up IK finger controls:

    • Specify the finger segments in the Driven tab, Finger Subsegments parameter, for example, “*thumb *middle *pinky *ring *index”.

    • In the Settings tab, turn on Piano Hands. When Piano Hands is turned on, the following options are available in the component’s menu:

      • An IK/FK button that switches between FK and IK finger controls.

      • A slider that blends between FK and IK for the fingers.

  7. The following IK controls are added for the fingers. The IK finger controls are parented to the tip selector. When you move the tip selector, all the IK controls move along with it:

    IK finger controls

Parameters

Name

The name to add to the nodes created by this component.

Settings

The parameters in this section provide the settings for the IK fingers when Piano Hands is turned on.

Use Config Control

When turned off, hides the menu in the viewport.

Use IK Fingers

When turned on, adds IK controls for the fingers. To set up IK controls for the fingers, you must tag the finger joints and specify the finger segments in Finger Subsegments.

Use Selection Handles

When turned on, displays the finger selection handles.

Flip Selection Handles

When turned on, flips the display of the finger selection handles. Clicking a selection handle selects all the FK controls for the finger.

Flip the finger selection handles

Dampen

A larger value dampens the effect of the IK solve, smoothing its snapping effects at the cost of accuracy.

Stretch

A larger value allows more stretch for the IK chain when the target is beyond the length of the chain.

Tracking Threshold

Sets the accuracy of the solve. A higher value is faster but less accurate.

Use Twist

When turned on, uses the pole vector to twist the IK chain.

Level Tip

When turned on, sets the tip controls to world orientation.

Level Pole Vector

When turned on, sets the pole vector controls to world orientation.

Level Root

When turned on, sets the root controls to world orientation.

Use Goal Rotation

When turned on, uses the goal rotation for the target orientation. When turned off, uses the solver’s position for the target orientation.

Resist Straight

When turned on, resists straightening of the IK chain.

Pole Vector Offset

The amount to offset the pole vector in the direction of the middle joint (between the root and tip). The IK chain must be slightly bent for this to work.

Driven

Hand Segments

Segments are tags that separate each hand. For example, *hand loops over tags L_hand and R_hand. Tags can be set up on skeleton joints using an Attribute Adjust Array SOP. See preparing skeletons for rigging for more information.

If Hand Segments is empty, the hand logic is run once.

Note

The Hand Segments parameter does not take APEX path patterns, for example, the #<tag> function. Instead, specify the tag names directly in this field.

Finger Subsegments

Tags that separate each finger. This is required to set up IK for the fingers (when Piano Hands is turned on).

Rename Subsegments

A pattern that specifies how to rename the finger segments in a hand. You can use this if your finger segments have a generic tag name like pinky, as opposed to something like L_pinky and R_pinky.

For example, let’s say you've tagged the following joints in your skeleton:

  • Hand joints (including the wrist and finger joints) with tags L_hand_upper and R_hand_upper.

  • Finger joints on both hands with tags thumb, index, middle, ring, and pinky.

Set Hand Segments to *hand* and Finger Subsegments to “thumb index middle pinky ring”.

In this parameter, specify the part of the hand segment name to strip off, leaving a prefix and/or suffix that is then added to the finger segment name. For example, if you set Rename Subsegments to *hand*, the “hand” part of the hand segment name is stripped off, the part of the hand segment name before hand is the prefix that is added to the finger segment name, and the part after hand is the suffix that is added to the finger segment name. In our case, the finger segment pinky on the left hand would be renamed to L_pinky_upper.

If the fingers segments don’t have generic names, or this is left empty, the finger segments are not renamed.

Driven

The TransformObject nodes to drive. This parameter accepts APEX path patterns, so you can specify tags in this field, for example, #hand.

Driver

IK Root Name

The name of the root control of the IK fingers.

IK Pole Vector Name

The name of the pole vector of the IK fingers.

IK Target Name

The name of the target control of the IK fingers.

Meta

You can add metacarpal controls to your fingers by specifying finger joints in the Meta parameter. The metacarpal controls are a look at from the metacarpal joint to the knuckle, where the control at the metacarpal joint is the driver, and the control at the knuckle is the target:

Metacarpal controls for the index and pinky

The Piano Hands parameter must be turned on for metacarpal controls to be added to the hand.

Note

The driver control is only visible in FK mode.

Meta

The fingers to add metacarpal controls for. You can specify any finger joint, and this adds metacarpal controls for the finger. This parameter accepts APEX path patterns, so you can add tags to the finger joints and specify tags in this field, for example, “#meta %tag(*pinky) L_index_01”.

Note

The joint hierarchy of the hand is important for metacarpals. The parent of the knuckle joint must be the metacarpal joint, and the parent of the metacarpal joint must be the main control of the hand. The metacarpal joint should only have one child.

Parent

Root

The parent of the hand controls. When empty, the hand is parented to the main control of the hand (the control at the hand joint, like the IK arm control at the hand). To unparent the hand controls, set this parameter to an underscore (“_”).

Tags

Root

The tags to add to the root TransformObject nodes of the IK fingers.

Pole Vector

The tags to add to the pole vector TransformObject nodes of the IK fingers.

Target

The tags to add to the target TransformObject nodes of the IK fingers.

Shape

The APEX Configure Controls SOP provides more options for changing the look of the controls.

Shape

The shape of the root controls of the IK fingers. It can be set to any of the built-in APEX control shapes.

Color

The color of the control shapes.

Rotate

The rotation of the FK finger control shapes.

Scale

The scale of the control shapes.

See also

KineFX

Overview

Preparing character elements

Rigging with APEX graphs

  • APEX graph basics

    Introduction to the APEX graph evaluation framework.

  • APEX graph debugger

    Inspect the values of an APEX graph’s ports within the APEX network view.

  • APEX Script basics for graph building

    An overview of APEX Script, a code interface for building APEX graphs.

  • Graphs for numerical operations

    Example graphs of numerical operations like adding two values, fetching multiple results, and retrieving information from geometry.

  • Graphs for viewport animation

    Example graphs of animate state functionality like creating controls and constraints, and defining joint hierarchies.

  • Graphs for deforming geometry

    Example of a SOP network and APEX graph for deforming a 3-joint tube geometry.

  • Graph metadata

    Information added to graph nodes and ports.

  • APEX path pattern

    A set of rules that allow you to filter and select elements within graphs, skeletons, geometry, and the character folder structure.

  • APEX graph nodes

    APEX nodes provide operations for building up the functionality of APEX graphs, which are used in KineFX to create character rigs and perform other geometry manipulation.

  • APEX updates for H22

    New and updated APEX graph nodes for Houdini 22.

Building rig graphs with APEX Script

Rigging with rig components

Animating in the viewport

  • Animation workflow

    Example networks of adding characters, props, characters, and animation to a scene.

  • Animating in LOPs

    Rig and animate characters and props in the context of a USD stage.

  • Working in the animate state

    Select and manipulate controls, define transform limits for controls, and add skin controls to a character.

  • Animate state menus and HUDs

    Menus, HUDs, toolbars, and options in the animate state.

  • Animate state hotkeys

    Hotkeys available in the animate state.

  • Posing

    Pose characters in the animation scene by using locators, copying and pasting controls, and mirroring poses.

  • Motion paths

    Visualize the motion of controls as curves in 3D space.

  • Constraints

    Create relationships between controls in the animate state.

  • Dynamic motion

    Add physically-accurate projectile motion to your animation in the animate state.

  • Ragdoll

    Add a ragdoll simulation to your animation in the animate state.

  • Full body IK

    Apply full body inverse kinematics to pose the character using high-level targets rather than manipulating individual joints.

  • Secondary motion

    Add physically-accurate effects like lag/overshoot, jiggle, and spring to your animation in the animate state.

  • Control selection sets

    A tree view of controls, selections, and selection sets for the animate state. Allows management of control selection and visibility.

  • Motion mixer

    Combine and edit the animation clips of multiple characters in a timeline-based view.

  • Character picker

    Create a 2D layout with simple buttons for selecting character controls in an animation scene.

  • Animation catalog

    Save, manage, and apply animations and single-frame poses to an animation scene.

  • Animation layers

    Create multiple layers of animation without affecting the original animation.

  • Animation toolbar

    A customizable toolbar consisting of simple slider tools that quickly apply modifications to animation controls and curves.

  • Animation bookmarks

    Frame markers that help organize and identify the different parts of your animation.

Customizing the animate state

SOP-based animation

  • Physics-based motion

    Add physically-accurate motion to your animation using the Projectile Motion and Pendulum Motion SOPs.

  • Ragdoll simulations

    Add a ragdoll simulation to your animation using the Ragdoll Solver SOP.

Deformation

  • Blend shapes

    Create blend shapes using blend shape SOP nodes.

Animation retargeting

Pre-H20

Panes

  • Motion mixer

    A timeline-based view of the animation clips and motion effects of multiple characters.

  • Character picker

    Create a 2D layout with simple buttons to select character controls in an animation scene.

  • Rig tree view

    A hierarchical view of character components, including packed character folders, KineFX rigs, and Object node rigs.

  • Animation editor

    View and edit animated parameters and their transitions between keyframes.

  • Geometry spreadsheet

    Displays details about the geometry selected in the network editor.

Appendix