Skip to content

1681-engine / index / blendPose

Function: blendPose() ​

ts
function blendPose(
   a, 
   b, 
   k
): RigPose;

Defined in: src/rig/poseMath.ts:29

The in-between of two poses at k (0 = a, 1 = b): bones turn along the shortest way and stretch, offsets slide. What cannot be in between (face, cape trail, the curled torso) stays a's until b is reached.

Parameters ​

ParameterType
aRigPose
bRigPose
knumber

Returns ​

RigPose

Released under the MIT License.