In this chapter, we'll cover the following recipes:
Creating animations with Tween.js
Animation using morph targets
Animation with skeletons
Using morph animations created in Blender
Using skeleton animations created in Blender
Adding a simple collision detection
Saving a movie of an animation in Chrome
Dragging and dropping objects around a scene
Adding a physics engine
Introduction
In the chapters so far, we've mostly dealt with static scenes or scenes with limited animation. In this chapter, we show you a number of recipes that you can use to make your scenes more dynamic. We show you recipes that talk about how to add advanced animations, how to drag and drop objects around your scene, and even how to add physics to your scene, such as gravity and collision detection.