Skip to content

anim-format (runtime format) / rigFollow

Function: rigFollow() ​

ts
function rigFollow(
   rig, 
   posed, 
   boneId
): Affine | null;

what follows bone boneId as one piece gets: its pose relative to its rest pose (the rig's space); null = no such bone

Parameters ​

ParameterType
rigAnimRig
posedReadonlyMap<string, PosedBone<AnimBone>>
boneIdstring

Returns ​

Affine | null

HereSplash — 2D animation for the web