Skip to content

anim-format (runtime format) / rigTravelAt

Function: rigTravelAt() ​

ts
function rigTravelAt(
   rig, 
   a, 
   b?, 
   t?
): object;

ROOT MOTION: the travel at frame a of the symbol's timeline (or t of the way to b), the rig's space; {0, 0} without root motion. Frames outside the rig's own read its first / last.

Parameters ​

ParameterTypeDefault value
rigAnimRigundefined
anumberundefined
b?numbera
t?number0

Returns ​

object

NameType
xnumber
ynumber

HereSplash — 2D animation for the web