Houdini 20.5 Nodes VOP nodes

Direction to Child VOP node

Computes the direction to a KineFX joint’s child.

On this page
Since 18.5

Parameters

Signature

Default Inputs

The point is specified by its index in the geometry.

By Name

The point is specified by name.

File

Specifies the input or operator location of the file containing the skeleton you want to operate on.

Point Number

Specifies the point number for the joint whose child you are interested in for the operation.

Reference Child Index

Specifies the index of the child joint you want to consider in the computation. A setting of -1 computes the average direction among all the children.

Note

This is the index of the child within the array of the queried point’s children. i.e. 0 is the first child of, 1 is second and so on.

Normalize

When on, the output direction is normalized.

Local Space

When on, the output is in local space. When off, the output is in world space.

Ignore Leaf Children

When on, any children of the queried point that are leaf joints (have no children themselves) will be excluded from the calculation.

Inputs

file

The file containing the skeleton you want to operate on.

pt

The joint whose child you are interested in for the operation.

refchild

The index of the child joint you want to consider in the computation.

norm

Whether or not the output direction should be normalized.

local

Whether the output should be in local or world space.

Outputs

vec

The direction vector to the child joint.

See also

VOP nodes