I'm doing a car game, what I want to do is that when I hit the wall it slows down, but when I return to the track I continue with the normal speed.
Simplified: I want to detect when a collision object with another and when it stops colliding
Thank you very much!