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) |
|
The mesh to follow |
|
drivenMatrix |
|
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 |
|
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 |
|
Barycentric coordinate to the bind triangle |
[0, 0, 0] |
triIndices |
|
Triangle point indices corresponding to the barycentric bind data |
[0, 0, 0] |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
output |
|
The transform that follows the driver transform. |