Graphics Reference
In-Depth Information
If you move bones around, which we do in our recipe, you also need to add the fol-
lowing line to your
render
loop:
helper.update();
This way,
THREE.SkeletonHelper
will always reflect the latest state of the model.
See also
• A simpler way to animate models is using morph targets. We explain how to
do this in the
Animation using morph targets
recipe. We also provide two re-
cipes in this chapter where we define morph-and-skeleton-based animations
in an external tool (Blender, in our case) and play the animation in Three.js.
Refer to the
Using morph animations created in Blender
and
Using skelet-
on animations created in Blender
recipes for more information on these ap-
proaches.