home *** CD-ROM | disk | FTP | other *** search
- >
- > > So, what happened? Well, Car A transferred 25% of its velocities to Car
- > > B and lost 8.33% to friction, heat, etc. Car B transferred 12.5% of its
- > > vertical velocity to Car B, but because Car A's horizontal component was
- > > greater than Car B's, there was no return transfer. (Also note that I
- > > made these percentages up - increase or reduce them depending on how
- > > bouncy you want the cars to be...)
- >
- > Well, it is not realistic at all...
-
- Who cares if it's 100% realistic or not as long as it looks
- and feels ok? We are talking about a game, and not a complex
- car crash simulator.
- Personally, I think the idea of just transferring some of the other cars
- velocity (vector) to the other car might give good results as
- a rough approximation. This simple approach has also the advantage
- that you can add only a certain percentage of what you've taken
- away from the other car to simulate some of the kinetic energy
- losses.
-
- > If you have patience i will go home and look on my books...
- >
- > Sure there is an equation (or two) which can describe every collision you
- > want...
- > If I remember right it was quite long... but not very complex.
-
- Realistic inelastic collision handling would be bejond good and evil.
- Even the formula for the elastic collision are long.
-
- >
- > I think you want elastic collision, that are collisions were total energy
- > is conserved. They are more simple... note that the previous description
- > of loss of energy was completely false.
- > There is not energy loss during collision but the heat produced by the hit.
- >
-
- I think 100% elastic collision will look bad in a car racing game. The
- "bouncing" effect would be much too strong.
- The formula can be optained with equations for kinetic energy and
- impulse (sp?) conservation. Transformation in the center of mass
- makes it easier to solve these equations. The result can be found in
- any physics book, I guess.
- BTW, the description about the energy loss given by the original
- poster wasn't that wrong. You will notice that in real car crashs
- MOST of the kinetic energy is lost through the irreversible deformation
- of the cars!
-
- Greetings,
-
- Chris
-
-