Collision Detection

  • Graeme Stuart


In this chapter we’ll look at detecting collisions between objects. Now that we’re in control of the ship and shooting projectiles, we should think about taking damage and scoring points. These require that we detect collisions between ship and asteroids for damage and between projectiles and asteroids for scoring points.

Copyright information

© Graeme Stuart 2017

Authors and Affiliations

  • Graeme Stuart
    • 1
  1. 1.Market HarboroughUK

Personalised recommendations