Chapter 10. COORDINATE ROTATION AND BOUNCING OFF ANGLES
What we'll cover in this chapter:
Simple coordinate rotation
Advanced coordinate rotation
Bouncing off an angle
Important formulas in this chapter
This chapter covers a particular technique known as coordinate rotation. As its name implies, this technique involves rotating a coordinate around a point. While useful all by itself, coordinate rotation is indispensable for several very interesting effects. One of those is the answer to a question that has continuously been asked on all the Flash boards for years: "How do I bounce something off an angled surface?" I'll cover how to do that in this chapter.
Another useful application of coordinate rotation is for calculating the reactions of two objects ...
Get Foundation ActionScript 3.0 Animation: Making Things Move! 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.