Skip to main content
  • 245 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics