Skip to content

Modify Poses

The pose graph provides several nodes for modifying poses. Each of these nodes accepts an input pose and outputs the modified pose.

InputTypeDescription
PosePoseThe pose to be modified.

For the operation of a pose node, see pose graph node view.

Apply Transform

apply-transform.png

Apply transform node Applies a transform (translate and rotation) to the specified node of the input pose.

InputTypeDescription
Position3d-vectorThe amount of modification to the position.
RotationQuaternionThe amount of modification to the rotation.
IntensityFloatThe intensity of application of the modification, in the range [0, 1]. 0 means that the modification is not applied at all, 1 means that the modification is applied completely.

apply-transform-inspector.png

PropertiesDescription
NodeThe name of the node to be modified.
Position OperationSpecifies how to modify the position. See Transform Operations
Rotation OperationSpecifies how to modify the rotation. See Transform Operation
Transform SpaceSpecifies the space in which the modification occurs; that is, the space in which the specified position input and rotation input reside.

Transform Operation

The transform operation options specify how the applied transform node modifies the position or rotation. The options are listed below:

PropertiesDescription
LEAVE_UNCHANGEDNo modification.
REPLACEWhen used as an application option for position, the position input is used directly as the new position of the node; when used as an application option for rotation, the rotation input is used directly as the new rotation of the node.
ADDAdds the position input to the node's current position when used as an application option for position, or the rotation input to the node's current rotation when used as an application option for rotation.

Copy Transform

copy-transform.png

The Copy Transform node copies the transform of a node in the input pose to another node.

copy-transform-inspector.png

PropertiesDescription
Source nodeThe name of the node to be copied.
Target NodeThe name of the node to copy to.
SpaceSpecifies the space where the copy occurs. When COMPONENT indicates that the copy occurs in component space; when LOCAL indicates that the copy occurs in local space.

Set Auxiliary Curves

curve.png

The Set Auxiliary Curve node modifies the current value of the specified auxiliary curve in the input pose.

InputTypeDescription
ValueFloatThe amount of modification to the auxiliary curve.

inspector-property.png

PropertiesDescription
Curve NameThe name of the auxiliary curve to be modified.
FlagSpecifies how to modify the auxiliary curve.
When LEAVE_UNCHANGED it is not modified; when REPLACE it means that the Curve Value input is used as the current value of the auxiliary curve;
when ADD it means that the Curve Value input is added to the current value of the auxiliary curve.

Double Skeleton IK

two-bone-ik-solver.png

IK solving is often used to move or rotate a bone to a target position and drive the parent bone so that it remains the same distance from the parent (or within an acceptable range). For example, when moving a foot, the knee bone and thigh bone should bend accordingly.

Two-bone IK solver node solves IK problems consisting of two sections of (three bones) bones for the input pose. These three bones form a direct parent-child relationship, i.e. "child level - parent level - parent of parent level". The "child" is called the end-effector or end-bone, the "parent of parent" is called the root-bone (in this IK problem), and the "parent of parent " is called the intermediate bone.

Therefore, the "two" in "two-bone IK" should be interpreted as "two segments of bones" rather than "two bones".

When evaluating, the solver will transform the end and middle bones, and rotate the root bone so that the end bone reaches the specified position; and keep the distance between the parent and child levels unchanged, and the position of the root bone unchanged in the process.

Two Bone IK Demonstration

For fixed end-bone and root-bone positions, an infinite number of solutions exist for the intermediate bones when solving. As shown in Fig:

Pole Target Demonstration

The solver will try to find the "best" solution, but there may still be more than one such solution, and it may not be the desired one.

Therefore, in order to explicitly specify the orientation of the intermediate bones, the solver also allows to specify a pole-target to determine the bending direction of the skeletal chain.

two-bone-ik-inspector.png

InputTypeDescription
End-effector-target3d-vectorTarget position of the end-effector.
Polar target3d-vectorThe position of the polar target.
AttributesDescription
End-effector nodeThe name of the end-effector node.
End-Executor-TargetThe target setting of the end-effector.
Polar targetThe polar target setting.

Target settings

The target setting is used to describe the end-effector target or the poleward target. The options are as follows:

AttributesDescription
TypeTarget type. When VALUE, it means that the target position is represented as the specified (3D vector) value; when BONE, it means that the position of another bone is used as the target position; and when NONE, it means that the current position is used as the target position, i.e., the target is not solved for.
Target BoneThe name of the target bone when the target type is BONE.
Target Position SpaceThe space of the target position when the target type is VALUE.