Chapter 19. Emulating the Natural World: A Poet's Introduction to Physics
The world around you is controlled by laws that enable you to predict the behavior of objects under specific conditions. You know that if you push a ball hard enough on an even surface, it will start to roll, but that it will eventually come to a stop. A ball will roll downhill, gaining momentum as it progresses. A rubber ball has more bounce than a lead ball. If the ball hits a wall, it stops, breaks through the wall, or bounces off the wall in another direction. These are all things you know intuitively; you see them in action in your daily life. What you might not understand is why objects act this way. If you understand a little bit about how these laws work in the real world, you can adapt them to control the behavior of objects in your Flash presentations. This lends a more realistic feel to your movies. Although you can emulate the behavior of physical objects by using tweening and frame-by-frame animations, scripting the behavior is more effective. In this chapter, you learn how to do the following:
You start by getting acquainted with a few simple concepts, and you'll build from there. |