Using the built-in collision detection system