🔆
Controlling Animations

Animation Wrappers

Apply an AnimationWrapper to a mesh to parse its animations:

const animations = new AnimationWrapper(characterModel);

Use the animation wrapper to play and blend the animations on the mesh:

animations.playAnimation('idle');
animations.blendInAnimation('run', 0.5);