Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

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

Consider two balls moving towards each other. Each has a given mass and velocity. Assuming the balls collide, how can you determine what direction the balls will take afterwards? (taking into consideration the mass & velocity)

I realise it's quite a big question, perhaps someone could direct me to an appropriate tutorial.

share|improve this question
up vote 2 down vote accepted

I definitely recommend reading Pool Hall Lessons: Fast, Accurate Collision Detection Between Circles or Spheres. It will give you a lot of information about circle to circle collisions, and how to handle them.

share|improve this answer

This site has a good tutorial just for your question, I like it because it has a lot of helpful diagrams to help you understand the concept, and gives plenty of example code:

The Physics of elastic collisions between particles

share|improve this answer

I think what you are looking for has already been answered on StackOverflow.

Hope that helps.

share|improve this answer

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.