Houdini 19.0 Python scripting hou hou.ik

hou.ik.solveFBIK HOM function

Applies a full-body inverse kinematics algorithm to a skeleton.

solveFBIK(skeleton, targets, iters=30, tolerance=1e-5, pin_root=False)

This solver is equivalent to the solvefbik VEX function.

skeleton

The hou.ik.Skeleton to solve. The joints' transforms will be updated with the solution.

targets

A list of hou.ik.Target specifying the goal transforms for particular joints. Raises hou.ValueError if any of the targets are not attached to a joint, or if multiple targets are attached to the same joint.

iters

The maximum number of iterations to perform. The solver may terminate early if the tolerance parameter is used.

tolerance

The tolerance to use when checking for convergence, defaults to 1e-5. If positions converge to within this tolerance, the algorithm will stop. If 0, the solver will always perform exactly iters iterations.

pin_root

Specifies whether the root joint is allowed to translate.

hou.ik

  • hou.ik.Joint

    Represents a joint in an inverse kinematics skeleton.

  • hou.ik.Skeleton

    Represents a skeleton for use with inverse kinematics solvers.

  • hou.ik.Target

    Represents a position or orientation target for inverse kinematics solvers.

  • hou.ik.solveFBIK()

    Applies a full-body inverse kinematics algorithm to a skeleton.

  • hou.ik.solvePhysFBIK()

    Applies a full-body inverse kinematics algorithm to a skeleton, with optional control over the center of mass.

  • hou.ik.targetType

    Enumeration of IK target types.