Chapter 7. Animation and Physics

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 ...

Get Three.js Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.