Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to figure out a way to determine the force two objects collide in.

I have two vectors defining their linear velocity at the time of impact, their mass and their angular velocity. Keep in mind this is all for a 2D physics engine.

I don't think it's as simple as adding up these values and figuring out if it's large enogh it makes a large impact since that doesn't take into account if the two objects are travelling in the same direction (as an example).

Any ideas?

share|improve this question

High school physics should do the trick here, preserve total energy (unless you want energy to dissipate into friction, heat and deformation) and preserve total momentum, which will give you the result of the impact. Adding rotation to the equation makes it a bit more tricky (although not so much in 2D), preserving angular momentum as well, do you want to go there?

Actually getting the force which is applied, you need to look at the characteristics of the impact, the most simple assumption is that the force is constant during the impact, in which case, the force is the change in momentum (known as the impulse) divided by the duration of the impact.

Do you really want to know the applied force (useful for damage models, but rarely for simple physics), or are you just looking to determine final velocities?

share|improve this answer
I want the applied force – zombinee Dec 27 '10 at 9:46
@meds; In that case you need to know more about the colliding objects, at the very least (for the simple assumption of constant force) the duration of the impact. – falstro Dec 27 '10 at 9:49
-1 This in no way answered the question. This should be a comment, not an answer. – AttackingHobo Dec 27 '10 at 18:14
@AttackingHobo; he asked for ideas, and as such it is answer to the question. He wants the applied force, it states that the simplest approximation is impulse/duration of impact. More explicitly it is the derivative of momentum wrt time. But sure, I'll take the -1. – falstro Dec 27 '10 at 19:55
@AttackingHobo: If you believe that an answer is not an answer then down vote it. Otherwise let it slide. People telling other people that their responses are not answers is annoying; after all, if you think there is a better answer that could be written then write it yourself. Problem solved. – Robert Massaioli Mar 31 '11 at 3:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.