Unity 5.2 messing up car
Hello! Recently, I upgraded to Unity 5.2. Since before the update, I've been working on a car game/simulator, but in 5.2, I'm starting to have a problem.
My car can sometimes flip, so I have made a script that detects a trigger collider located on the top of the car, and if it is activated for more than 2 seconds, the car will respawn (reset all velocity, and xy rotations, and move it up 5 units). Unfortunately, in 5.2, this void gets called if the wheels are touching something for more than 2 seconds. This means that after two seconds of driving, the car will respawn. The other problem is that when it lands (as it respawns a few units up in the air), the wheels will (for some unknown reason) make the car jump REALLY high up in the air.
Please help! I really need some of the bug fixes in 5.2, and I cannot proceed with my development.
so you want to say that wheel do job ins$$anonymous$$d of trigger collider? give code and screenshots, hard to recognize problem only by your words.
Here's a gif of what happens. If you look at the restart delay timer in the inspector, it resets when the car jumps. When it reaches 5, the car "respawns" it falls and jumps up when it touches the ground.
Your answer
![](https://koobas.hobune.stream/wayback/20220612035456im_/https://answers.unity.com/themes/thub/images/avi.jpg)