I’m developing a game with a faux car physics, which is actually a box with almost 0 frictions physic material pushed around along its forward vector. I’ve mentioned this in my previous thread (which doesn’t get any reply, unfortunately): http://forum.unity3d.com/threads/car-tutorial-didnt-work-in-unity-5-0-1.328236/#post-2130020 . I can’t use the wheel collider and I didn’t make a raytracing one for the car physics. But the one I use is actually good enough, because my game is only an isometric car game, like “Pako Car Chase” or “Mini Motor Racing”.
Now, I’ve got a physics problem. My employer wanted me to make a physics that will behave unlike the usual physics if colliding into a wall. I don’t know how to put it into English, so I’ll put it into some images.
Currently, the usual physics of collision will go like this, right?
But, my employer wanted it to go like this:
So basically, maybe he wanted it to behave similarly to a bumper car. If the car collided with a wall, it won’t bounce but will traverse along the wall instead. So, any idea about how to do that? I’m currently blank right now. Thanks.