An example of collision detection

An example of collision detection