Houdini 20.5 Nodes Geometry nodes

Configure Joint Limits geometry node

Configures joint rotation and translation limits.

On this page
Since 20.0

This node provides an interactive way of creating and modifying joint limits for a KineFX skeleton for various purposes including ragdoll RBD simulations (Ragdoll Solver SOP), full-body inverse kinematics (Full Body IK SOP), and posing (Rig Pose SOP). Some of the functionality provided by this node include the ability to set limits for multiple joints at once, options to visualize joints that are outside the configured limits, and copy and paste functionality of limits across multiple joints.

Parameters

Group

Only compute limits for the specified points.

Output Configuration Attribute

Name of the output point attribute that contains the configurations.

Rest Pose Attribute

The specified rest transform point attribute is used to set the skeleton to its rest state.

Clear Overrides

Clears all manual overrides added from the node’s viewer state.

Compute Limits

Compute Limits for Joints from MotionClip

When turned on, computes the rotation and translation limits for all the points on the input geometry from a MotionClip.

Group

When Compute Limits for Joints from MotionClip is turned on, only computes limits for the specified points.

Rotation Order

When Compute Limits for Joints from MotionClip is turned on, this is the rotation order to use when cracking the Euler angles from the MotionClip input.

Clip Range

When Compute Limits for Joints from MotionClip is turned on, reads the frame range from the clipinfo detail attribute of the MotionClip or sets a custom frame range.

Frame Range

When Compute Limits for Joints from MotionClip is turned on and Clip Range is set to Custom Frame Range, this is the MotionClip frame range to compute limits from.

Rotation Limits

When turned on, computes rotation limits from the MotionClip. This parameter is available when Compute Limits for Joints from MotionClip is turned on.

Translation Limits

When turned on, computes translation limits from the MotionClip. This parameter is available when Compute Limits for Joints from MotionClip is turned on.

Guide Geometry

Display Guides at Rest Transform

When turned on, displays the guide geometry at the rest transform.

Display Rotation Limits

When turned on, displays the rotation limit handle for all joints.

Display Translation Limits

When turned on, displays the translation limit handle for all joints.

Display Joints Outside Their Limits

When turned on, shows all joints that are currently outside their configured limits in red.

Guide Geometry Scale

Scales the guide geometry in the viewport.

Attributes

The Output Configuration Attribute dictionary point attribute stores the configured limits and any additional data required to apply these limits. The dictionary has the following keys:

  • rest_transform: The limits are always applied from the same rest pose that they have been configured in.

  • rotation_order: The rotation order used to crack the transforms and get the limits is stored so that they can in turn be used when applying the limits.

  • rotation_lower_limits: The lower rotation limits on the x, y and z axes, in radians.

  • rotation_upper_limits: The upper rotation limits on the x, y and z axes, in radians.

  • translation_lower_limits: The lower translation limits on the x, y and z axes.

  • translation_upper_limits: The upper translation limits on the x, y and z axes.

Note

The rotation and translation limits are both in local space.

Inputs

Skeleton

The skeleton to configure the limits for.

MotionClip

When Compute Limits for Joints from MotionClip is turned on, this specifies the MotionClip geometry to use.

Outputs

Skeleton

The skeleton with the limits configured.

Examples

ConfigureLimitsFromMotionClip Example for Configure Joint Limits geometry node

This example demonstrates how to configure joint limits using MotionClips. It provides a basic clip that, once retargeted to your own biped character, can be used as a starting point for the rotation limits. It also showcases a more interactive alternative to configuring limits when no external clip is available.

See also

Geometry nodes