Quantcast
Channel: Latest Questions by TheShadyColombian
Viewing all articles
Browse latest Browse all 145

Unity 5.2 messing up car

$
0
0
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.

Viewing all articles
Browse latest Browse all 145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>