Houdini 20.0 Nodes VOP nodes

Joint Angle VOP node

Gets the angle at the given joint in a KineFX skeleton.

On this page
Since 18.5

Returns the described by the vector from the point given by __Point Number on the File geometry to that point’s parent, and the vector to the child of that point specified by Reference Child Index. The value returned is in radians.

Parameters

Signature

Default Inputs

The Point is specified by point number and the Reference Child is specified by an index that point’s array of children (for example, 0 is the first child). If Reference Child is set to -1, an average direction for all child points will be used.

Point Name

Both Point and Reference Child are specified by point name.

File

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

Geometry Path

Specifies an operator path pointing to a SOP node.

This parameter is only available when File is set to Operator Path.

Point Number

Specifies the point number for the joint you wish to query.

This parameter is only available when Signature is set to Default Inputs.

Point Name

Specifies the point name for the joint you wish to query.

This parameter is only available when Signature is set to Point Name.

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.

Inputs

file

The file containing the skeleton you want to operate on.

pt

Specifies the point number or name for the joint you wish to query.

refchild

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.

Outputs

angle

The angle computed at the queried point. The result given in radians, use a Radians To Degrees VOP to convert this figure to degrees.

See also

VOP nodes