O'Reilly logo

Foundation ActionScript 3.0 Animation: Making Things Move! by Keith Peters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. PARTICLE ATTRACTION AND GRAVITY

What we'll cover in this chapter:

  • Particles

  • Gravity

  • Springs

  • Important formulas in this chapter

I'm pretty happy with how the progression of these chapters has turned out. Each chapter adds a new concept that generally seems to progress in terms of interaction. At first, you just had things moving around. Then things started interacting with the environment, then the user, and then each other through collisions. In this chapter, I'll expand on the ways objects interact with each other, particularly from a distance. Specifically, I'll cover particles, gravity (a little differently this time), springs (again!), and the world-famous Node Garden. Let's dive right in!

Particles

I guess I should define what I mean ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required