Skip to main content

You could create a boolean, for example bool canCrash, and make sure it is true when ever the car changes from the previous position. Then, on collision, you check if canCrash == true and, if it isn't but the speed of the car was higher than the car it collided into.

I think that's the right direction to go.

John Smith
  • 1.3k
  • 1
  • 21
  • 41