Car Hit Wall And Continue

Hi, I’m making a racing game and how I have it setup now when my car hits a wall it fully stops, even if it hits it with the side, I would like to know if there is anyway on making that the car decreases it speed and “bounce” but still be able to continue running unless it hits the wall with the front.

Currently the car uses a box collider and the wall a mesh collider (is an imported object)

2 Answers

2

Using pure colliders will just stop it if it hits. You may need to change how you move the car too. I am not 100% sure.

Thanks for your answer, I fixed it now.

If I helped, you should give me best answer ;)

It was hardly an answer worth getting that (plus he never approved of any answer till now :)). Could give thumbs up though. @Orloffyeah post what you found up if you will.

Hi, it was just the way that the wall was modeled, not an actual problem in Unity, so I had to use another wall model and that fixed the problem. :) If someone is experiencing hte same problem you have to make sure that the wall model is completely flat, not "bumpy".