So is there any easy way to make smooth collision to the Race Car Movement? I mean if it touches the wall and I use "stop", the object just "shakes" and goes some pixles back and then does it again when touches the wall.
I found one tutorial here, but I won't like to make four another objects around the main object.
I've never tried it, but it could be interesting to try using particles. If you imagine particles hitting the wall, they would hit and bounce at different times.
If you could find a way to bind particles loosely to the car (or rather, bind the car to the particles), you could potentially cause it to rotate on impacts and all sorts.
Eg. If you have a particle for the front and a particle for the back. The car hits a wall at an angle. The front particle hits the wall first, followed by the back particle. We then make the car follow that same kind of path, so it rotates. The result would be that the front hits the wall, and the weight of the rear brings the back sliding into the wall as well.
Like DeadmanDines said... you need a lot of particles located on the border of car (or one object which walks throught the whole border with Fast Loop). Each of them must contain information about its location relative to the center of mass.
And then do some calculation in notebooks to find out mathematical formula which gives you answer about new speed, acceleration, angular speed and angular acceleration dependent on which point collided with obstalce and what was the speed, acceleration, angular speed and angular acceleration before hitting obstacle.
It is really hard and boring work :---(. Ask Joe., he claims to be good in this stuff :---).
Some people aren't experienced enough to guess quite nice formulae for collisions. That's why I'd rather do some calculation to find out which parametres influences on results before making collision algorithm.
Good physics is the most important thing in racing games.
Why would you introduce something as advanced as particle collision to a guy who doesn't like the idea of putting four new objects i.e detectors around the car?
I really like the idea of a particle collision test though.