In this part I'll explore how to detect collision between a ball and the line. Please read part 1 if you didn't already. You may say: "hey, I don't want a ball, I want a car!!". There's no problem, you will learn everyting, I will explain, during next tutorials, how to insert complex objects, but the basics are the same for every collision.