Summary
This chapter covered just about everything you need to know about collision detection, including the built-in hitTest function in all its variations, distance-based collision checking, and how to efficiently track collisions among many objects. You should know the pluses and minuses of each method, and situations where each works well or does not perform satisfactorily. You’ll be using all of this material as you move forward in the book, and no doubt, you’ll be using it extensively in your own projects.
In the next chapter, you’ll find out what to do to create a realistic reaction to the collisions you have now detected.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Keith Peters
About this chapter
Cite this chapter
(2006). Collision Detection. In: Foundation ActionScript Animation. Apress. https://doi.org/10.1007/978-1-4302-0081-9_9
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0081-9_9
Publisher Name: Apress
Print ISBN: 978-1-59059-518-3
Online ISBN: 978-1-4302-0081-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books