Houdini 20.0 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

When turned on, transforms the skeleton based on the name of the matrix4 point attribute containing the rest pose for the target skeleton. When turned off, the input pose is used as the rest pose.

Clear Overrides

Clear all manual overrides added via the node’s 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

Only compute limits for the specified points. This parameter is available when Compute Limits for Joints from MotionClip is turned on.

Rotation Order

The rotation order to use when cracking the Euler angles from the MotionClip input. This parameter is available when Compute Limits for Joints from MotionClip is turned on.

Clip Range

Reads the frame range from the clipinfo detail attribute of the MotionClip or sets a custom frame range. This parameter is available when Compute Limits for Joints from MotionClip is turned on.

Frame Range

The MotionClip frame range to compute limits from. This parameter is available when Compute Limits for Joints from MotionClip is turned on.

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, display the guide geometries at rest transform.

Display Rotation Limits

Display the rotation limit handle for all joints.

Display Translation Limits

Display the translation limit handle for all joints.

Display Joints Outside Their Limits

Show all joints that are currently outside their configured limits in a red color.

Guide Geometry Scale

Scale the guide geometry in the viewport.

Attributes

The Output Configuration Attribute dictionary point attribute stores the configured limits and additional data required to apply these limits.

The dictionary has the following keys:

  • rest_transform: the limits will always be applied from the same rest pose that they have been configured in

  • rotation_order: we store the rotation order used to crack the transforms and get the limits so that we can use the same one when we apply them

  • rotation_lower_limits: the lower limits on the x, y and z axis in radians

  • rotation_upper_limits: the upper limits on the x, y and z axis in radians

  • translation_lower_limits: the lower limits on the x, y and z axis

  • translation_upper_limits: the upper limits on the x, y and z axis

Note

Both the rotation and translation limits are in local space.

Inputs

Skeleton

The skeleton to configure the limits for.

MotionClip

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

Outputs

Skeleton

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