Houdini 21.0 Nodes APEX nodes

rig::ParentBlend

Creates a parent constraint between two matrix transforms.

On this page
Since 20.0

Creates a parent constraint between two input matrices. The parent matrix is the driven transform, and the newparent matrix is the driver.

The constraint’s effect on the parent transform can be blended on and off using the blend port. The constraint can be applied to any combination of the translation, rotation, and scale components of the parent transform using a bit mask specified in the components port (the components port accepts the same bit mask as the TransformObject’s xformmask port). The bit mask can be conveniently set using the ComponentBoolsToInt subgraph.

The parent_bind and newparent_bind ports control the binding state of the constraint. The offset between the parent_bind and newparent_bind transforms is maintained between parent and newparent. When parent_bind and newparent_bind are not set, the parent transform matches newparent’s position, size, and orientation. If an offset is not needed, however, it is more efficient to use transform::Blend.

Inputs

parent: Matrix4

The constraint’s driven transform.

parent_bind: Matrix4

A transform that is used in conjunction with newparent_bind to define an offset that is maintained by the constraint.

newparent: Matrix4

The constraint’s driver transform.

newparent_bind: Matrix4

A transform that is used in conjunction with parent_bind to define an offset that is maintained by the constraint.

blend: Float

Blends the effect of the constraint on and off. A value of 1 means that the constraint is fully on, and a value of 0 indicates that the constraint has no effect.

components: Int

An integer bit mask that controls the translation, rotation, and scale components that are constrained.

Outputs

parent: Matrix4

The constrained matrix.

See also

APEX nodes