- Home /
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)
Answer by Straight Rainbow · Dec 31, 2012 at 02:00 AM
http://docs.unity3d.com/Documentation/Components/class-Rigidbody.html
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.
Answer by Orloffyeah · Jan 01, 2013 at 11:05 PM
Thanks for your answer, I fixed it now.
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".
Your answer
Follow this Question
Related Questions
Disable car bounce Wall (Car Hit Wall) 0 Answers
Making My Character Stop When It Hits A Wall 2 Answers
Raycast help 1 Answer
View entire object when on intersection of wall 3 Answers
how to make a player die on collision 2 Answers