• Collision detection is a constant balance between performance and accuracy.
The more accurate an algorithm is, the more of a performance hit is usually
incurred.
• The bounding-box algorithm for collision detection is one of the most simple
and straightforward algorithms. If you “draw” an imaginary box around each
object, you can easily tell which box is colliding with another box.
• You can speed up collision detection while improving accuracy by combining
methods. Use a large box to determine if it’s worth the time to check the smaller
boxes surrounding sections of an object, or implement a grid-based system to
avoid unnecessary collision checks between objects that are not close together.