omni.anim.PinConstraint

Constraint a transform to Mesh surface.

Installation

To use this Node, you must enable omni.anim.pinConstraint in the Extension Manager.

Inputs

Name

Type

Description

Default

Driver Mesh (driverMesh)

bundle

The mesh to follow

drivenMatrix

matrixd[4]

The driven transform which follows driver transform. Used to compute relative transform.

[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]

relativeTransform

matrixd[4]

The offset from driven to driver

[[-1.0, -1.0, -1.0, -1.0], [-1.0, -1.0, -1.0, -1.0], [-1.0, -1.0, -1.0, -1.0], [-1.0, -1.0, -1.0, -1.0]]

baryCoord

float[3]

Barycentric coordinate to the bind triangle

[0, 0, 0]

triIndices

int[3]

Triangle point indices corresponding to the barycentric bind data

[0, 0, 0]

Outputs

Name

Type

Description

Default

output

matrixd[4]

The transform that follows the driver transform.